Class for monolithic coupled simulators.
More...
#include <SIMmultiCpl.h>
|
|
| SIMmultiCpl (const std::vector< SIMoutput * > &sims) |
| | The constructor initializes the array of base SIM objects.
|
| |
|
virtual | ~SIMmultiCpl () |
| | The destructor deletes the base SIM objects.
|
| |
| virtual bool | parse (const tinyxml2::XMLElement *elem) |
| | Parses a data section from an XML document.
|
| |
| virtual bool | preprocessC (const IntVec &ignored, bool fixDup, double time0) |
| | Performs some pre-processing tasks on the FE model.
|
| |
| virtual bool | parse (char *keyWord, std::istream &is) |
| | Parses a data section from an input stream.
|
| |
| virtual bool | parse (const tinyxml2::XMLElement *elem) |
| | Parses a data section from an XML document.
|
| |
|
virtual | ~SIMadmin () |
| | Empty destructor.
|
| |
| virtual bool | read (const char *fileName) |
| | Reads model data from the specified input file *fileName.
|
| |
| virtual bool | preprocess (const IntVec &ignored={}, bool fixDup=false) |
| | Performs some pre-processing tasks on the FE model.
|
| |
|
const ProcessAdm & | getProcessAdm () const |
| | Returns the parallel process administrator.
|
| |
| int | getGlobalProcessID () const |
| | Returns the global process ID.
|
| |
|
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.
|
| |
| bool | readXML (const char *fileName, bool verbose=true) |
| | Reads an XML input file.
|
| |
| bool | loadXML (const char *xml) |
| | Loads data from an XML-formatted text string.
|
| |
|
|
std::vector< SIMcoupling > | myCpl |
| | Inter-sim coupling definition container.
|
| |
|
std::vector< SIMoutput * > | mySims |
| | Dimension-specific simulator container.
|
| |
|
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.
|
| |
|
|
bool | parseConnection (const tinyxml2::XMLElement *elem) |
| | Parses a connection definition from an XML element.
|
| |
|
|
SIMoptions & | opt |
| | Simulation control parameters.
|
| |
|
static int | msgLevel = 2 |
| | Controls the console output amount during solving.
|
| |
|
using | IntVec = std::vector< int > |
| | Convenience alias.
|
| |
|
| SIMadmin (const char *heading=nullptr) |
| | The default constructor initializes the process administrator.
|
| |
|
| SIMadmin (SIMadmin &anotherSIM) |
| | Copy constructor.
|
| |
| const tinyxml2::XMLElement * | loadFile (tinyxml2::XMLDocument &doc, const char *fileName, bool verbose=false) |
| | Loads an XML input file into a tinyxml2::XMLDocument object.
|
| |
| virtual const char ** | getPrioritizedTags () const |
| | Returns a list of prioritized XML-tags.
|
| |
Class for monolithic coupled simulators.
◆ parse() [1/3]
| bool SIMadmin::parse |
( |
char * |
keyWord, |
|
|
std::istream & |
is |
|
) |
| |
|
virtual |
Parses a data section from an input stream.
Reimplemented from SIMadmin.
◆ parse() [2/3]
| bool SIMadmin::parse |
( |
const tinyxml2::XMLElement * |
elem | ) |
|
|
virtual |
Parses a data section from an XML document.
Reimplemented from SIMadmin.
◆ parse() [3/3]
| bool SIMmultiCpl::parse |
( |
const tinyxml2::XMLElement * |
elem | ) |
|
|
virtual |
◆ preprocessC()
| bool SIMmultiCpl::preprocessC |
( |
const IntVec & |
ignored, |
|
|
bool |
fixDup, |
|
|
double |
time0 |
|
) |
| |
|
virtual |
Performs some pre-processing tasks on the FE model.
- Parameters
-
| [in] | ignored | Indices of patches to be ignored in the analysis |
| [in] | fixDup | Merge duplicated FE nodes on patch interfaces? |
| [in] | time0 | Initial time for time-dependent dirichlet conditions |
Reimplemented from SIMadmin.
References IFEM::cout, Vec3::equal(), myCpl, mySims, and SIMadmin::printHeading().
The documentation for this class was generated from the following files: