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/EnumDefinitions/StringToEnum.cpp

    r5803 r5903  
    325325        else if (strcmp(name,"Nodal")==0) return NodalEnum;
    326326        else if (strcmp(name,"ResponseDescriptors")==0) return ResponseDescriptorsEnum;
    327         else if (strcmp(name,"SolverString")==0) return SolverStringEnum;
     327        else if (strcmp(name,"PetscRc")==0) return PetscRcEnum;
    328328        else if (strcmp(name,"Sparsity")==0) return SparsityEnum;
    329329        else if (strcmp(name,"TolX")==0) return TolXEnum;
Note: See TracChangeset for help on using the changeset viewer.