mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
modify for coupling-cpp and hpp
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
|
||||
set(source_files
|
||||
geometryPhasicFlow.C
|
||||
Wall/Wall.C
|
||||
planeWall/planeWall.C
|
||||
stlWall/stlWall.C
|
||||
cylinderWall/cylinderWall.C
|
||||
cuboidWall/cuboidWall.C
|
||||
geometryPhasicFlow.cpp
|
||||
Wall/Wall.cpp
|
||||
planeWall/planeWall.cpp
|
||||
stlWall/stlWall.cpp
|
||||
cylinderWall/cylinderWall.cpp
|
||||
cuboidWall/cuboidWall.cpp
|
||||
)
|
||||
set(link_lib phasicFlow Geometry Kokkos::kokkos Utilities)
|
||||
|
||||
|
@ -19,7 +19,7 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "Wall.H"
|
||||
#include "Wall.hpp"
|
||||
|
||||
bool pFlow::Wall::readCommon(const dictionary& dict)
|
||||
{
|
@ -19,13 +19,13 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __Wall_H__
|
||||
#define __Wall_H__
|
||||
#ifndef __Wall_hpp__
|
||||
#define __Wall_hpp__
|
||||
|
||||
|
||||
#include "virtualConstructor.H"
|
||||
#include "Vectors.H"
|
||||
#include "dictionary.H"
|
||||
#include "virtualConstructor.hpp"
|
||||
#include "Vectors.hpp"
|
||||
#include "dictionary.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -55,7 +55,7 @@ protected:
|
||||
public:
|
||||
|
||||
// - type info
|
||||
TypeName("Wall");
|
||||
TypeInfo("Wall");
|
||||
|
||||
//// - Constructors
|
||||
|
@ -19,8 +19,8 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "cuboidWall.H"
|
||||
#include "planeWall.H"
|
||||
#include "cuboidWall.hpp"
|
||||
#include "planeWall.hpp"
|
||||
|
||||
|
||||
|
@ -19,12 +19,12 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __cuboidWall_H__
|
||||
#define __cuboidWall_H__
|
||||
#ifndef __cuboidWall_hpp__
|
||||
#define __cuboidWall_hpp__
|
||||
|
||||
|
||||
#include "Wall.H"
|
||||
#include "types.H"
|
||||
#include "Wall.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -39,7 +39,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
TypeName("cuboidWall");
|
||||
TypeInfo("cuboidWall");
|
||||
|
||||
cuboidWall();
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "cylinderWall.H"
|
||||
#include "line.H"
|
||||
#include "cylinderWall.hpp"
|
||||
#include "line.hpp"
|
||||
|
||||
|
||||
bool pFlow::cylinderWall::readCylinderWall(const dictionary& dict)
|
@ -19,11 +19,11 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __cylinderWall_H__
|
||||
#define __cylinderWall_H__
|
||||
#ifndef __cylinderWall_hpp__
|
||||
#define __cylinderWall_hpp__
|
||||
|
||||
#include "Wall.H"
|
||||
#include "zAxis.H"
|
||||
#include "Wall.hpp"
|
||||
#include "zAxis.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -40,7 +40,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
TypeName("cylinderWall");
|
||||
TypeInfo("cylinderWall");
|
||||
|
||||
cylinderWall();
|
||||
|
||||
@ -60,4 +60,4 @@ public:
|
||||
|
||||
|
||||
|
||||
#endif //__cylinderWall_H__
|
||||
#endif //__cylinderWall_hpp__
|
@ -19,12 +19,12 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "systemControl.H"
|
||||
#include "Wall.H"
|
||||
#include "multiTriSurface.H"
|
||||
#include "geometryMotion.H"
|
||||
#include "commandLine.H"
|
||||
#include "readControlDict.H"
|
||||
#include "systemControl.hpp"
|
||||
#include "Wall.hpp"
|
||||
#include "multiTriSurface.hpp"
|
||||
#include "geometryMotion.hpp"
|
||||
#include "commandLine.hpp"
|
||||
#include "readControlDict.hpp"
|
||||
|
||||
using pFlow::output;
|
||||
using pFlow::endl;
|
||||
@ -55,9 +55,9 @@ int main( int argc, char* argv[] )
|
||||
if(!cmds.parse(argc, argv)) return 0;
|
||||
|
||||
// this should be palced in each main
|
||||
#include "initialize_Control.H"
|
||||
#include "initialize_Control.hpp"
|
||||
|
||||
#include "setProperty.H"
|
||||
#include "setProperty.hpp"
|
||||
|
||||
Report(0)<<"\nReading "<<"createGeometryDict"<<" . . ."<<endReport;
|
||||
auto objDict = IOobject::make<dictionary>
|
||||
@ -109,7 +109,7 @@ int main( int argc, char* argv[] )
|
||||
Report(0)<< greenText("\nFinished successfully.\n");
|
||||
|
||||
// this should be palced in each main
|
||||
#include "finalize.H"
|
||||
#include "finalize.hpp"
|
||||
|
||||
return 0;
|
||||
}
|
@ -19,8 +19,8 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "planeWall.H"
|
||||
#include "line.H"
|
||||
#include "planeWall.hpp"
|
||||
#include "line.hpp"
|
||||
|
||||
bool pFlow::planeWall::readPlaneWall
|
||||
(
|
@ -19,12 +19,12 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __planeWall_H__
|
||||
#define __planeWall_H__
|
||||
#ifndef __planeWall_hpp__
|
||||
#define __planeWall_hpp__
|
||||
|
||||
|
||||
#include "Wall.H"
|
||||
#include "types.H"
|
||||
#include "Wall.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -59,7 +59,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
TypeName("planeWall");
|
||||
TypeInfo("planeWall");
|
||||
|
||||
planeWall();
|
||||
|
@ -19,10 +19,10 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "stlWall.H"
|
||||
#include "stlFile.H"
|
||||
#include "stlWall.hpp"
|
||||
#include "stlFile.hpp"
|
||||
|
||||
#include "streams.H"
|
||||
#include "streams.hpp"
|
||||
|
||||
bool pFlow::stlWall::readSTLWall
|
||||
(
|
@ -19,12 +19,12 @@ Licence:
|
||||
-----------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __stlWall_H__
|
||||
#define __stlWall_H__
|
||||
#ifndef __stlWall_hpp__
|
||||
#define __stlWall_hpp__
|
||||
|
||||
|
||||
#include "Wall.H"
|
||||
#include "types.H"
|
||||
#include "Wall.hpp"
|
||||
#include "types.hpp"
|
||||
|
||||
namespace pFlow
|
||||
{
|
||||
@ -39,7 +39,7 @@ protected:
|
||||
|
||||
public:
|
||||
|
||||
TypeName("stlWall");
|
||||
TypeInfo("stlWall");
|
||||
|
||||
stlWall();
|
||||
|
Reference in New Issue
Block a user