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 void RunTest ( const std::string &  name,
ResultsType &  result 
)
inlinevirtual

Runs a test specified by name.

Parameters
nameString name of the test to run.
resultElmerFoamFSI::TestResults object to store test results.

Definition at line 1871 of file ElmerFoamFSITest.H.

References TestingObject< ResultsType >::Epilogue(), TestingObject< ResultsType >::Prologue(), TestingObject< ResultsType >::Test__ElmerHandlesCheck(), TestingObject< ResultsType >::Test__ElmerModuleLoad(), TestingObject< ResultsType >::Test__ElmerStructures(), TestingObject< ResultsType >::Test__ExampleFunction(), TestingObject< ResultsType >::Test__FluidAgentRun(), TestingObject< ResultsType >::Test__FsiCoupler(), TestingObject< ResultsType >::Test__MidPointQuadrature(), TestingObject< ResultsType >::Test__OFModuleLoad(), TestingObject< ResultsType >::Test__OpenFoamFluids(), TestingObject< ResultsType >::Test__SolidAgentRun(), TestingObject< ResultsType >::Test__TransferDisplacementsToFluid(), TestingObject< ResultsType >::Test__TransferLoadsToStructures(), and TestingObject< ResultsType >::Test__TrapezoidQuadrature().

Referenced by TestingObject< ResultsType >::ProcessTests(), and ElmerFoamFSI::Test().

1872  {
1873  Prologue();
1874  if(name == "ExampleFunction")
1875  Test__ExampleFunction(result);
1876  else if(name == "TrapezoidQuadrature")
1877  Test__TrapezoidQuadrature(result);
1878  else if(name == "MidPointQuadrature")
1879  Test__MidPointQuadrature(result);
1880  else if(name == "ElmerModuleLoad")
1881  Test__ElmerModuleLoad(result);
1882  else if(name == "OpenFoamModuleLoad")
1883  Test__OFModuleLoad(result);
1884  else if(name == "ElmerHandlesCheck")
1885  Test__ElmerHandlesCheck(result);
1886  else if(name == "FsiCoupler")
1887  Test__FsiCoupler(result);
1888  else if(name == "TransferDisplacementsToFluid")
1890  else if(name == "FluidAgentRun")
1891  Test__FluidAgentRun(result);
1892  else if(name == "TransferLoadsToStructures")
1894  else if(name == "SolidAgentRun")
1895  Test__SolidAgentRun(result);
1896  else if(name == "ElmerStructures")
1897  Test__ElmerStructures(result);
1898  else if(name == "OpenFoamFluids")
1899  Test__OpenFoamFluids(result);
1900  Epilogue();
1901  }
virtual void Epilogue()
Tears down the testing fixtures if needed.
virtual void Test__TransferLoadsToStructures(ResultsType &result)
Test for TransferLoadsToStructures() function.
virtual void Test__MidPointQuadrature(ResultsType &result)
Test for ElmerFoamFSI::MidPointQuadrature.
virtual void Test__FluidAgentRun(ResultsType &result)
Test for fluidAgent-&gt;Run() function.
virtual void Prologue()
Sets up the data fixtures for the tests.
virtual void Test__FsiCoupler(ResultsType &result)
Test the functionality of the fsiCoupler.
virtual void Test__ElmerHandlesCheck(ResultsType &result)
virtual void Test__SolidAgentRun(ResultsType &result)
Test for solidAgent-&gt;Run() function.
virtual void Test__ExampleFunction(ResultsType &result)
Test for ElmerFoamFSI::ExampleFunction.
virtual void Test__OFModuleLoad(ResultsType &result)
virtual void Test__OpenFoamFluids(ResultsType &result)
Run an initialization check to make sure the OpenFoamFluids are running as they should.
virtual void Test__ElmerStructures(ResultsType &result)
Run an initialization check to make sure that the ElmerStructures are running as they should...
virtual void Test__TrapezoidQuadrature(ResultsType &result)
Test for ElmerFoamFSI::TrapezoidQuadrature.
virtual void Test__ElmerModuleLoad(ResultsType &result)
virtual void Test__TransferDisplacementsToFluid(ResultsType &result)
Test for fsiCoupling::TrasferDisplacementsToFluid function.

Here is the call graph for this function:

Here is the caller graph for this function: