← Back to team overview

dolfin team mailing list archive

Fix initialization of DOLFIN, PETSc, and DOLFIN log system. [...]

 

Commit from logg (2005-02-13 15:39 CET)
----------------

Fix initialization of DOLFIN, PETSc, and DOLFIN log system.

Added a new function dolfin_init(int argc, char* argv[]) that can
be called at startup to pass command-line arguments to PETSc. Should
normally not be needed since PETSc is otherwise initialized automatically
with fake command-line arguments.

Type of output is now controlled using the function dolfin_output()
instead of going through the settings system, since output might
need to happen before the parameter for output has been specified.

Homotopy test problem now seems to work fine, if command-line arguments
are given to PETSc.

  dolfin  Makefile.in                                    1.71
  dolfin  aclocal.m4                                     1.99
  dolfin  configure                                      1.138
  dolfin  src/Makefile.in                                1.71
  dolfin  src/config/Makefile.in                         1.75
  dolfin  src/demo/Makefile.in                           1.74
  dolfin  src/demo/la/Makefile                           1.188
  dolfin  src/demo/la/Makefile.in                        1.50
  dolfin  src/demo/solvers/Makefile.in                   1.67
  dolfin  src/demo/solvers/navierstokes/Makefile.in      1.40
  dolfin  src/demo/solvers/ode/Makefile.in               1.56
  dolfin  src/demo/solvers/ode/homotopy/Makefile.in      1.2
  dolfin  src/demo/solvers/ode/homotopy/simple/main.cpp  1.9
  dolfin  src/demo/solvers/ode/mechanical/Makefile.in    1.39
  dolfin  src/demo/solvers/ode/modeling/Makefile.in      1.29
  dolfin  src/demo/solvers/ode/stiff/Makefile            1.143
  dolfin  src/demo/solvers/ode/stiff/Makefile.in         1.47
  dolfin  src/greeting/Makefile.in                       1.56
  dolfin  src/kernel/Makefile.in                         1.72
  dolfin  src/kernel/common/Makefile.in                  1.72
  dolfin  src/kernel/common/dolfin/Makefile.in           1.66
  dolfin  src/kernel/element/Makefile.in                 1.49
  dolfin  src/kernel/element/dolfin/Makefile.in          1.49
  dolfin  src/kernel/fem/Makefile                        1.194
  dolfin  src/kernel/fem/Makefile.in                     1.77
  dolfin  src/kernel/fem/dolfin/Makefile.in              1.76
  dolfin  src/kernel/form/Makefile.in                    1.51
  dolfin  src/kernel/form/dolfin/Makefile.in             1.50
  dolfin  src/kernel/function/Makefile.in                1.42
  dolfin  src/kernel/function/dolfin/Makefile.in         1.42
  dolfin  src/kernel/io/Makefile.in                      1.78
  dolfin  src/kernel/io/dolfin/Makefile.in               1.72
  dolfin  src/kernel/la/Makefile.in                      1.78
  dolfin  src/kernel/la/PETScManager.cpp                 1.6
  dolfin  src/kernel/la/dolfin/Makefile.in               1.75
  dolfin  src/kernel/log/Logger.cpp                      1.15
  dolfin  src/kernel/log/LoggerMacros.cpp                1.9
  dolfin  src/kernel/log/Makefile.in                     1.63
  dolfin  src/kernel/log/dolfin/Logger.h                 1.9
  dolfin  src/kernel/log/dolfin/LoggerMacros.h           1.13
  dolfin  src/kernel/log/dolfin/Makefile.in              1.63
  dolfin  src/kernel/main/Makefile.am                    1.10
  dolfin  src/kernel/main/Makefile.in                    1.71
  dolfin  src/kernel/main/dolfin.h                       1.12
+ dolfin  src/kernel/main/init.cpp                       1.1
  dolfin  src/kernel/main/dolfin/Makefile.in             1.68
+ dolfin  src/kernel/main/dolfin/dolfin_main.h           1.1
+ dolfin  src/kernel/main/dolfin/init.h                  1.1
  dolfin  src/kernel/map/Makefile.in                     1.50
  dolfin  src/kernel/map/dolfin/Makefile.in              1.49
  dolfin  src/kernel/math/Makefile.in                    1.64
  dolfin  src/kernel/math/dolfin/Makefile.in             1.63
  dolfin  src/kernel/mesh/Makefile.in                    1.49
  dolfin  src/kernel/mesh/dolfin/Makefile.in             1.48
  dolfin  src/kernel/ode/Makefile.in                     1.72
  dolfin  src/kernel/ode/dolfin/Makefile.in              1.69
  dolfin  src/kernel/quadrature/Makefile.in              1.65
  dolfin  src/kernel/quadrature/dolfin/Makefile.in       1.65
  dolfin  src/kernel/settings/Makefile.in                1.58
  dolfin  src/kernel/settings/dolfin/Makefile.in         1.58
  dolfin  src/kernel/settings/dolfin/Settings.h          1.40
  dolfin  src/modules/Makefile.in                        1.76
  dolfin  src/modules/convdiff/Makefile.in               1.72
  dolfin  src/modules/elasticity/Makefile.in             1.37
  dolfin  src/modules/elasticity-stationary/Makefile.in  1.37
  dolfin  src/modules/elasticity-updated/Makefile.in     1.24
  dolfin  src/modules/euler/Makefile.in                  1.30
  dolfin  src/modules/heat/Makefile.in                   1.17
  dolfin  src/modules/navierstokes/Makefile.in           1.71
  dolfin  src/modules/odesolver/Makefile.in              1.50
  dolfin  src/modules/poisson/Makefile.in                1.71
  dolfin  src/modules/poisson-multigrid/Makefile.in      1.28
  dolfin  src/modules/template/Makefile.in               1.70
  dolfin  src/modules/wave/Makefile.in                   1.37
  dolfin  src/modules/wave-vector/Makefile.in            1.37
  dolfin  src/post/Makefile.in                           1.59
  dolfin  src/pre/Makefile.in                            1.67
  dolfin  src/utils/Makefile.in                          1.70
  dolfin  src/utils/inp2dx/Makefile.in                   1.70