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 Prologue ( )
inlinevirtual

Sets up the data fixtures for the tests.

This function gives the object a chance to allocate and set up any "fixtures" before the tests are run.

Definition at line 136 of file ElmerFoamFSITest.H.

References TestingObject< ResultsType >::ExampleTestFixture, and TestingObject< ResultsType >::N.

Referenced by TestingObject< ResultsType >::Process(), TestingObject< ResultsType >::ProcessTests(), and TestingObject< ResultsType >::RunTest().

136  {
137  ExampleTestFixture.assign("ExampleTestData");
138  for(int i = 10;i < 10000000;i*=10) N.push_back(i);
139  // initializing COM
140  bool runs = false;
141  int nargs_dupe = 2;
142  char **args_dupe;
143  args_dupe = new char * [3];
144  args_dupe[0] = const_cast<char *>("test");
145  args_dupe[1] = const_cast<char *>("-com-mpi");
146  args_dupe[2] = NULL;
147  COM_init(&nargs_dupe,&args_dupe);
148  }
std::vector< int > N
A set of values for testing quadrature methods.
std::string ExampleTestFixture
A sample string test fixture.

Here is the caller graph for this function: