SIM-hierarchy. It contains all general model definition methods (input-
file parsing, property setup, initial conditions, adaptive refinement).
Changed: Renamed the virtual createModelGenerator to getModelGenerator
plus some cosmetics in console feedback during default model generation.
The latter will require updates of the apps relying on model generators
and regression tests because of cosmetic correction of console feedback.
ModelGenerator sub-classes. Instead, the createG2 method is made virtual.
Also let the createTopology method have an empty default implementation such
that it does not need to be overridden in the single-patch default generators.
And please don't use the override keyword (at least not in the IFEM kernel)
which is not supported i gcc 4.6. I still use that compiler for debugging.
Translates to local patch index and ignores patch entries on other processes.
The nGlPatches member of SIMbase is now default equal to myModel.size() for
serial runs, such that we don't need to check that it is non-zero all the time
(except for in getLocalPatchIndex, which may be called before it is set).
The latter is now treated as an error conditions and indicates missing
partitioning information for parallel runs.
with possibility for application-specific convergence criteria.
Changed: The order of the SIM::ConvStatus enum values reflects severity,
such that may do (stat <= SIM::DIVERGED) to catch both DIVERGED and FAILURE.
Resolve this by moving the parse implementation to a C-file (not a template).
Also added a default constructor initialising the dim member.
Removed obsolete file ResidualOperators.C
AdaptiveSIM to also handle time-dependent problems. This is now reverted
as this class is not well suited for that class of problems.
It was intended for static linear problems only.
This hunk got lost during refactoring in b3ac7b8188
Also moved the mapping from the {-2,-1,1,2} indices to LR-enums to
the constrainEdge method, to avoid doing that more than one place.
prediction cycles, that is the mesh is checked for refinement at the end of
each cycle and they are repeated if the mesh is refined up to the specified
number of times (default is 1). If less than max_prediction cycles are needed,
the forwarding cycle (with result saving at each step) are skipped.
- generate cmake config files
- refactor testing to make it reusable (downloads gtest if used from
applications)
- split of flags/definitions
- install Apps/Common with main library
this is a wrapper for SIMxD which equips it with the
ability to constrain a dof on a patch / face / edge / vertex
to the same dof in a given vertex.
useful for applying rigid body motion to parts of a model.
Added: Option in SIMSolver::solveProblem to save initial configuration to VTF.
Fixed: The SIMCoupled destructor must nullify the VTF file of the second
simulator since it points to the same VTF object as the first simulator.