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
int finalize ( )

Get the handle for the finalize function and call it

Definition at line 300 of file ElmerFSI/trunk/src/SolverModuleDriver.C.

References runs.

Referenced by main().

300  {
301 
303  int final_handle = COM_get_function_handle("Window1.Finalize");
304  bool final_func = (final_handle > 0);
305  runs = 0;
306  if(final_func){
307  COM_call_function(final_handle,&runs);
308  }
309 
310  COM_UNLOAD_MODULE_STATIC_DYNAMIC( ElmerCSC, "Window1");
311 
312  COM_finalize();
313  std::cout << "SolverModuleDriver:finalize: After COM_finalize" << std::endl;
314 
315  return 0;
316 
317 }

Here is the caller graph for this function: