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
void SetRunMode ( const std::string &  inMode)
inline

Definition at line 376 of file FsiCoupling.H.

References runMode.

Referenced by SerialDriverProgram::DriverRun(), TestingObject< ResultsType >::Test__FluidAgentRun(), TestingObject< ResultsType >::Test__fsiCouplerAgentsInitialize(), TestingObject< ResultsType >::Test__SolidAgentRun(), TestingObject< ResultsType >::Test__TransferDisplacementsToFluid(), and TestingObject< ResultsType >::Test__TransferLoadsToStructures().

377  {
378  std::stringstream outString;
379  if(inMode == "Fluid" ||
380  inMode == "fluid"){
381  runMode = 1;
382  } else if(inMode == "Structure" ||
383  inMode == "structure" ||
384  inMode == "Solid" ||
385  inMode == "solid"){
386  runMode = 2;
387  } else {
388  runMode = 0;
389  }
390  };

Here is the caller graph for this function: