Definition at line 337 of file ElmerFoamFSITest.H.
Referenced by TestingObject< ResultsType >::Process(), and TestingObject< ResultsType >::RunTest().
338 std::cout <<
"Running Test__OFModuleLoad" << std::endl;
341 std::cout <<
"Loading OpenFoam Module" << std::endl;
342 COM_LOAD_MODULE_STATIC_DYNAMIC(OpenFoamFSI,
"OFModule");
346 int h=COM_get_window_handle(
"OFModule");
348 std::cout <<
" After loading, COM_get_window_handle(\"OFModule\") returns "
350 std::cout <<
"ModuleLoadUnload Error: Could not get window handle."
355 std::cout <<
"OpenFoam Module Loaded" << std::endl;
357 result.UpdateResult(
"LoadOpenFoamModule:Works",works);
360 std::cout <<
"Unloading OpenFoam Module" << std::endl;
361 COM_UNLOAD_MODULE_STATIC_DYNAMIC(OpenFoamFSI,
"OFModule");
365 h=COM_get_window_handle(
"OFModule");
367 std::cout <<
"After unloading, COM_get_window_handle(\"OFModule\") returns "
369 std::cout <<
"ModuleLoadUnload Error: Did not properly unload module."
374 std::cout <<
"OpenFoam Module Unloaded" << std::endl;
377 result.UpdateResult(
"UnloadOpenFoamModule:Works",works);