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

Definition at line 568 of file ElmerFoamFSITest.H.

References TestingObject< ResultsType >::GetInputData().

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

568  {
569 
570  int IntDir;
571  std::string OrgDir, TestDir;
572 
573  //call GetInputData to copy input test data to temp directory for running tests.
574  std::string suffix = "/testing/share/Testing/test_data/SimpleStatic";
575 
576  //Make path for directory to run the test in
577  TestDir = IRAD::Sys::CWD() + "/SimpleStatic";
578  std::cout << "Getting Input Data!!" << std::endl;
579  IntDir = GetInputData(suffix, TestDir);
580 
581  //check if GetInputData exited correctly.
582  if(IntDir != 0){
583  std::cout << "GetInputData failed!"
584  << std::endl;
585  return 1;
586  }
587  // Check if TestDir directory exists in current Directory
588  if(!IRAD::Sys::FILEEXISTS(TestDir)){
589  std::cout << "Could not find directory, "
590  << TestDir << ", for running tests." << std::endl;
591  return 2;
592  }
593  return 0;
594  }
virtual int GetInputData(std::string suffix, std::string TestDir)

Here is the call graph for this function:

Here is the caller graph for this function: