mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
correction in the macros to be compatible with OpenFOAM
This commit is contained in:
@ -22,9 +22,9 @@ Licence:
|
||||
#define __initialize_hpp__
|
||||
|
||||
// initilized and finalize should be placed in onc scope
|
||||
Report(0)<<"Initializing host/device execution spaces . . . \n";
|
||||
Report(1)<<"Host execution space is "<< greenText(pFlow::DefaultHostExecutionSpace::name())<<endReport;
|
||||
Report(1)<<"Device execution space is "<<greenText(pFlow::DefaultExecutionSpace::name())<<endReport;
|
||||
REPORT(0)<<"Initializing host/device execution spaces . . . \n";
|
||||
REPORT(1)<<"Host execution space is "<< greenText(pFlow::DefaultHostExecutionSpace::name())<<endREPORT;
|
||||
REPORT(1)<<"Device execution space is "<<greenText(pFlow::DefaultExecutionSpace::name())<<endREPORT;
|
||||
|
||||
Kokkos::initialize( argc, argv );
|
||||
{
|
||||
|
@ -24,7 +24,7 @@ Licence:
|
||||
// initilized and finalize should be placed in onc scope
|
||||
#include "initialize.hpp"
|
||||
|
||||
Report(0)<<"\nCreating Control repository . . ."<<endReport;
|
||||
REPORT(0)<<"\nCreating Control repository . . ."<<endREPORT;
|
||||
pFlow::uniquePtr<pFlow::systemControl> ControlPtr = nullptr;
|
||||
|
||||
if(isCoupling)
|
||||
|
@ -22,7 +22,7 @@ Licence:
|
||||
#ifndef __setProperty_hpp__
|
||||
#define __setProperty_hpp__
|
||||
|
||||
Report(0)<<"\nReading proprties . . . "<<endReport;
|
||||
REPORT(0)<<"\nReading proprties . . . "<<endREPORT;
|
||||
|
||||
auto proprties = pFlow::property(Control.caseSetup().path()+pFlow::propertyFile__);
|
||||
|
||||
|
@ -21,7 +21,7 @@ Licence:
|
||||
#ifndef __setSurfaceGeometry_hpp__
|
||||
#define __setSurfaceGeometry_hpp__
|
||||
|
||||
Report(0)<< "\nCreating surface geometry . . . "<<endReport;
|
||||
REPORT(0)<< "\nCreating surface geometry . . . "<<endREPORT;
|
||||
auto surfGeometryPtr = pFlow::geometry::create(Control, proprties);
|
||||
auto& surfGeometry = surfGeometryPtr();
|
||||
|
||||
|
Reference in New Issue
Block a user