ElmerFoamFSI  2.0
ElmerFoamFSI is fluid-solid interaction simulation application built up from OpenFOAM CFD and Elmer CSM coupled through the IMPACT multiphysics software integration infrastructure.
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros Groups Pages
virtual int Finalize ( )
inlinevirtual

Reimplemented from agentbase.

Definition at line 89 of file ElmerParAgent.H.

References agentbase::componentFunctionHandles, agentbase::FINALIZE, agentbase::WriteErr(), and agentbase::WriteOut().

Referenced by fsicouplingpar::Finalize().

89  {
90  int runs = 0;
91  WriteOut("Calling Elmer finalize.\n");
92  COM_call_function(componentFunctionHandles[FINALIZE],&runs);
93  WriteOut("Elmer finalize done.\n");
94  if(!runs){
95  WriteErr("Elmer failed to finalize!\n");
96  return(1);
97  }
98  };
std::vector< int > componentFunctionHandles
Definition: Orchestrator.H:13
virtual void WriteErr(const std::string &output)
Definition: Orchestrator.H:32
virtual void WriteOut(const std::string &output)
Definition: Orchestrator.H:28

Here is the call graph for this function:

Here is the caller graph for this function: