modify for coupling-cpp and hpp

This commit is contained in:
hamidrezanorouzi
2022-12-10 01:32:54 +03:30
parent 878c281d45
commit 8cc47b1c47
393 changed files with 1679 additions and 1679 deletions

View File

@ -1,7 +1,7 @@
list(APPEND SourceFiles
geometry/geometry.C
geometryMotion/geometryMotions.C
geometry/geometry.cpp
geometryMotion/geometryMotions.cpp
)
set(link_libs Kokkos::kokkos phasicFlow MotionModel Property)

View File

@ -19,10 +19,10 @@ Licence:
-----------------------------------------------------------------------------*/
#ifndef __demGeometry_H__
#define __demGeometry_H__
#ifndef __demGeometry_hpp__
#define __demGeometry_hpp__
#include "demComponent.H"
#include "demComponent.hpp"
namespace pFlow
{

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/
#include "geometry.H"
#include "vocabs.H"
#include "geometry.hpp"
#include "vocabs.hpp"
bool pFlow::geometry::findPropertyId()

View File

@ -18,18 +18,18 @@ Licence:
-----------------------------------------------------------------------------*/
#ifndef __geometry_H__
#define __geometry_H__
#ifndef __geometry_hpp__
#define __geometry_hpp__
#include "virtualConstructor.H"
#include "demGeometry.H"
#include "property.H"
#include "Fields.H"
#include "Vectors.H"
#include "multiTriSurface.H"
#include "triSurfaceFields.H"
#include "dictionary.H"
#include "virtualConstructor.hpp"
#include "demGeometry.hpp"
#include "property.hpp"
#include "Fields.hpp"
#include "Vectors.hpp"
#include "multiTriSurface.hpp"
#include "triSurfaceFields.hpp"
#include "dictionary.hpp"
namespace pFlow
{
@ -71,7 +71,7 @@ protected:
public:
// - type info
TypeName("geometry");
TypeInfo("geometry");
//// - Constructors

View File

@ -19,12 +19,12 @@ Licence:
-----------------------------------------------------------------------------*/
#ifndef __geometryMotion_H__
#define __geometryMotion_H__
#ifndef __geometryMotion_hpp__
#define __geometryMotion_hpp__
#include "geometry.H"
#include "VectorDuals.H"
#include "geometry.hpp"
#include "VectorDuals.hpp"
namespace pFlow
{
@ -62,7 +62,7 @@ protected:
public:
// type info
TypeNameTemplate("geometry", MotionModel);
TypeInfoTemplate("geometry", MotionModel);
//// - Constructors
@ -145,11 +145,11 @@ public:
}
#include "geometryMotion.C"
#include "geometryMotion.cpp"
#ifndef BUILD_SHARED_LIBS
#include "geometryMotionsInstantiate.C"
#include "geometryMotionsInstantiate.cpp"
#endif
#endif //__geometryMotion_H__
#endif //__geometryMotion_hpp__

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/
#include "geometryMotions.H"
#include "geometryMotions.hpp"
#ifdef BUILD_SHARED_LIBS
#include "geometryMotionsInstantiate.C"
#include "geometryMotionsInstantiate.cpp"
#endif

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/
#ifndef __geometryMotions_H__
#define __geometryMotions_H__
#ifndef __geometryMotions_hpp__
#define __geometryMotions_hpp__
#include "geometryMotion.H"
#include "fixedWall.H"
#include "rotatingAxisMotion.H"
#include "geometryMotion.hpp"
#include "fixedWall.hpp"
#include "rotatingAxisMotion.hpp"
namespace pFlow

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/
#include "fixedWall.H"
#include "rotatingAxisMotion.H"
#include "fixedWall.hpp"
#include "rotatingAxisMotion.hpp"
template class pFlow::geometryMotion<pFlow::fixedWall>;