IFEM  90A354
Public Member Functions | Protected Member Functions | List of all members
SIMSolverAdapInternal< T1 > Class Template Reference

Template class for adaptive simulator drivers which handle adaptation internally. More...

#include <SIMSolverAdap.h>

Inheritance diagram for SIMSolverAdapInternal< T1 >:
Inheritance graph
[legend]
Collaboration diagram for SIMSolverAdapInternal< T1 >:
Collaboration graph
[legend]

Public Member Functions

 SIMSolverAdapInternal (T1 &s1)
 The constructor forwards to the parent class constructor.
 
virtual ~SIMSolverAdapInternal ()
 Empty destructor.
 
bool read (const char *file) override
 Reads solver data from the specified input file.
 
int solveProblem (char *infile, const char *=nullptr) override
 Solves the problem on a sequence of adaptively refined meshes.
 
bool parse (const tinyxml2::XMLElement *elem) override
 Parse an element from an XML input file.
 
- Public Member Functions inherited from SIMSolverStat< T1 >
 SIMSolverStat (T1 &s1, const char *head=nullptr)
 The constructor initializes the reference to the actual solver.
 
virtual ~SIMSolverStat ()
 The destructor deletes the results data exporter object.
 
void handleDataOutput (const std::string &hdf5file, const ProcessAdm &modelAdm, int saveInterval=1)
 Handles application data output. More...
 
- Public Member Functions inherited from SIMadmin
virtual ~SIMadmin ()
 Empty destructor.
 
virtual bool parse (char *keyWord, std::istream &is)
 Parses a data section from an input stream.
 
virtual bool preprocess (const IntVec &ignored={}, bool fixDup=false)
 Performs some pre-processing tasks on the FE model.
 
virtual bool preprocessC (const IntVec &, bool, double=0.0)
 Performs some pre-processing tasks on the FE model.
 
const ProcessAdmgetProcessAdm () const
 Returns the parallel process administrator.
 
int getGlobalProcessID () const
 Returns the global process ID. More...
 
const std::string & getHeading () const
 Returns the simulator heading.
 
void setHeading (const std::string &heading)
 Defines the simulator heading.
 
void printHeading (int &supStep) const
 Prints the heading of this simulator, if any, to IFEM::cout.
 
- Public Member Functions inherited from XMLInputBase
bool readXML (const char *fileName, bool verbose=true)
 Reads an XML input file. More...
 
bool loadXML (const char *xml)
 Loads data from an XML-formatted text string. More...
 

Protected Member Functions

bool saveState (int &geoBlk, int &nBlock, int iStep, char *infile)
 Saves geometry and results to VTF and HDF5 for current time step.
 
- Protected Member Functions inherited from SIMSolverStat< T1 >
void printHeading (const char *heading)
 Writes an application-specific heading, if provided.
 
- Protected Member Functions inherited from SIMadmin
 SIMadmin (const char *heading=nullptr)
 The default constructor initializes the process administrator.
 
 SIMadmin (SIMadmin &anotherSIM)
 Copy constructor.
 
- Protected Member Functions inherited from XMLInputBase
const tinyxml2::XMLElement * loadFile (tinyxml2::XMLDocument &doc, const char *fileName, bool verbose=false)
 Loads an XML input file into a tinyxml2::XMLDocument object. More...
 
virtual const char ** getPrioritizedTags () const
 Returns a list of prioritized XML-tags.
 

Additional Inherited Members

- Public Attributes inherited from SIMadmin
SIMoptionsopt
 Simulation control parameters.
 
- Static Public Attributes inherited from SIMadmin
static int msgLevel = 2
 Controls the console output amount during solving.
 
- Protected Types inherited from SIMadmin
using IntVec = std::vector< int >
 Convenience alias.
 
- Protected Attributes inherited from SIMSolverStat< T1 >
T1S1
 The actual solver.
 
DataExporterexporter
 Administrator for result output to HDF5 file.
 
int startExpLevel
 Initial time level for the DataExporter.
 
- Protected Attributes inherited from SIMadmin
ProcessAdm adm
 Parallel administrator.
 
int myPid
 Processor ID in parallel simulations.
 
int nProc
 Number of processors in parallel simulations.
 
std::string myHeading
 Heading written before reading the input file.
 

Detailed Description

template<class T1>
class SIMSolverAdapInternal< T1 >

Template class for adaptive simulator drivers which handle adaptation internally.


The documentation for this class was generated from the following file: