Ignore:
Timestamp:
09/20/10 10:13:52 (14 years ago)
Author:
Eric.Larour
Message:

New way of running the petsc solver, that provides more flexibilty.
We have a new petscoptions field in the model, that can be filled
with petsc options, instead of the solver_string, which disappers.
The petscoptins gets resolved into a petscrc string (for serial runs)
and a petsc.rc file (for parallel runs) at runtime. The petscrc string
acts the same way than the solver_string. But the petsc.rc file acts
in a different way. Itt is loaded at runtime, when first doing Petsc Initialize.
This allows tweaking and rerunning of the same deck, each time using different
options.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/modules/ModelProcessorx/CreateParameters.cpp

    r5772 r5903  
    6464        parameters->AddObject(new DoubleParam(ViscosityOvershootEnum,iomodel->viscosity_overshoot));
    6565        parameters->AddObject(new BoolParam(WaitOnLockEnum,iomodel->waitonlock));
    66         parameters->AddObject(new StringParam(SolverStringEnum,iomodel->solverstring));
     66        parameters->AddObject(new StringParam(PetscRcEnum,iomodel->petscrc));
    6767        parameters->AddObject(new IntParam(NumberOfElementsEnum,iomodel->numberofelements));
    6868        parameters->AddObject(new BoolParam(KffEnum,iomodel->kff));
Note: See TracChangeset for help on using the changeset viewer.