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

@ -75,7 +75,6 @@ add_subdirectory(src)
add_subdirectory(solvers) add_subdirectory(solvers)
add_subdirectory(utilities) add_subdirectory(utilities)
#add_subdirectory(test_newFeatures) #add_subdirectory(test_newFeatures)
@ -88,3 +87,4 @@ set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
set(CPACK_PACKAGE_VERSION_MAJOR "${phasicFlow_VERSION_MAJOR}") set(CPACK_PACKAGE_VERSION_MAJOR "${phasicFlow_VERSION_MAJOR}")
set(CPACK_PACKAGE_VERSION_MINOR "${phasicFlow_VERSION_MINOR}") set(CPACK_PACKAGE_VERSION_MINOR "${phasicFlow_VERSION_MINOR}")
include(CPack) include(CPack)

View File

@ -1,6 +1,6 @@
set(SourceFiles set(SourceFiles
sphereDEMSystem/sphereDEMSystem.C sphereDEMSystem/sphereDEMSystem.cpp
) )
set(link_libs Kokkos::kokkos phasicFlow Particles Geometry Property Interaction Interaction Utilities) set(link_libs Kokkos::kokkos phasicFlow Particles Geometry Property Interaction Interaction Utilities)

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "sphereDEMSystem.H" #include "sphereDEMSystem.hpp"
pFlow::sphereDEMSystem::sphereDEMSystem(int argc, char* argv[]) pFlow::sphereDEMSystem::sphereDEMSystem(int argc, char* argv[])

View File

@ -18,19 +18,19 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sphereDEMSystem_H__ #ifndef __sphereDEMSystem_hpp__
#define __sphereDEMSystem_H__ #define __sphereDEMSystem_hpp__
#include <array> #include <array>
#include "systemControl.H" #include "systemControl.hpp"
#include "property.H" #include "property.hpp"
#include "uniquePtr.H" #include "uniquePtr.hpp"
#include "geometry.H" #include "geometry.hpp"
#include "sphereParticles.H" #include "sphereParticles.hpp"
#include "interaction.H" #include "interaction.hpp"
#include "Insertions.H" #include "Insertions.hpp"
#include "readControlDict.H" #include "readControlDict.hpp"

View File

@ -1,6 +1,6 @@
set(source_files set(source_files
iterateGeometry.C iterateGeometry.cpp
) )
set(link_lib phasicFlow Geometry MotionModel Kokkos::kokkos Utilities) set(link_lib phasicFlow Geometry MotionModel Kokkos::kokkos Utilities)

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "systemControl.H" #include "systemControl.hpp"
#include "geometryMotion.H" #include "geometryMotion.hpp"
#include "commandLine.H" #include "commandLine.hpp"
#include "readControlDict.H" #include "readControlDict.hpp"
using pFlow::commandLine; using pFlow::commandLine;
@ -43,10 +43,10 @@ commandLine cmds(
// this should be palced in each main // this should be palced in each main
#include "initialize_Control.H" #include "initialize_Control.hpp"
#include "setProperty.H" #include "setProperty.hpp"
#include "setSurfaceGeometry.H" #include "setSurfaceGeometry.hpp"
do do
@ -56,7 +56,7 @@ commandLine cmds(
}while( Control++); }while( Control++);
// this should be palced in each main // this should be palced in each main
#include "finalize.H" #include "finalize.hpp"
} }

View File

@ -1,6 +1,6 @@
set(source_files set(source_files
sphereGranFlow.C sphereGranFlow.cpp
) )
set(link_lib Kokkos::kokkos phasicFlow Particles Geometry Property Interaction Interaction Utilities) set(link_lib Kokkos::kokkos phasicFlow Particles Geometry Property Interaction Interaction Utilities)

View File

@ -18,15 +18,15 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "property.H" #include "property.hpp"
#include "geometry.H" #include "geometry.hpp"
#include "sphereParticles.H" #include "sphereParticles.hpp"
#include "Insertions.H" #include "Insertions.hpp"
#include "systemControl.H" #include "systemControl.hpp"
#include "contactSearch.H" #include "contactSearch.hpp"
#include "sphereInteraction.H" #include "sphereInteraction.hpp"
#include "commandLine.H" #include "commandLine.hpp"
#include "readControlDict.H" #include "readControlDict.hpp"
using pFlow::output; using pFlow::output;
using pFlow::endl; using pFlow::endl;
@ -53,13 +53,13 @@ bool isCoupling = false;
if(!cmds.parse(argc, argv)) return 0; if(!cmds.parse(argc, argv)) return 0;
// this should be palced in each main // this should be palced in each main
#include "initialize_Control.H" #include "initialize_Control.hpp"
#include "setProperty.H" #include "setProperty.hpp"
#include "setSurfaceGeometry.H" #include "setSurfaceGeometry.hpp"
#include "createDEMComponents.H" #include "createDEMComponents.hpp"
Report(0)<<"\nStart of time loop . . .\n"<<endReport; Report(0)<<"\nStart of time loop . . .\n"<<endReport;
@ -101,7 +101,7 @@ if(!cmds.parse(argc, argv)) return 0;
Report(0)<<"\nEnd of time loop.\n"<<endReport; Report(0)<<"\nEnd of time loop.\n"<<endReport;
// this should be palced in each main // this should be palced in each main
#include "finalize.H" #include "finalize.hpp"
} }

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsBashforth2.H" #include "AdamsBashforth2.hpp"
//const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0}; //const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0};

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsBashforth2_H__ #ifndef __AdamsBashforth2_hpp__
#define __AdamsBashforth2_H__ #define __AdamsBashforth2_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -45,7 +45,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsBashforth2"); TypeInfo("AdamsBashforth2");
//// - Constructors //// - Constructors
AdamsBashforth2( AdamsBashforth2(
@ -120,4 +120,4 @@ bool pFlow::AdamsBashforth2::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsBashforth3.H" #include "AdamsBashforth3.hpp"
//const real AB3_coef[] = { 23.0 / 12.0, 16.0 / 12.0, 5.0 / 12.0 }; //const real AB3_coef[] = { 23.0 / 12.0, 16.0 / 12.0, 5.0 / 12.0 };

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsBashforth3_H__ #ifndef __AdamsBashforth3_hpp__
#define __AdamsBashforth3_H__ #define __AdamsBashforth3_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -33,7 +33,7 @@ struct AB3History
realx3 dy1_={0,0,0}; realx3 dy1_={0,0,0};
realx3 dy2_={0,0,0}; realx3 dy2_={0,0,0};
TypeNameNV("AB3History"); TypeInfoNV("AB3History");
}; };
@ -89,7 +89,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsBashforth3"); TypeInfo("AdamsBashforth3");
//// - Constructors //// - Constructors
AdamsBashforth3( AdamsBashforth3(
@ -177,4 +177,4 @@ bool pFlow::AdamsBashforth3::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsBashforth4.H" #include "AdamsBashforth4.hpp"

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsBashforth4_H__ #ifndef __AdamsBashforth4_hpp__
#define __AdamsBashforth4_H__ #define __AdamsBashforth4_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -34,7 +34,7 @@ struct AB4History
realx3 dy2_={0,0,0}; realx3 dy2_={0,0,0};
realx3 dy3_={0,0,0}; realx3 dy3_={0,0,0};
TypeNameNV("AB4History"); TypeInfoNV("AB4History");
}; };
@ -94,7 +94,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsBashforth4"); TypeInfo("AdamsBashforth4");
//// - Constructors //// - Constructors
AdamsBashforth4( AdamsBashforth4(
@ -187,4 +187,4 @@ bool pFlow::AdamsBashforth4::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsBashforth5.H" #include "AdamsBashforth5.hpp"

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsBashforth5_H__ #ifndef __AdamsBashforth5_hpp__
#define __AdamsBashforth5_H__ #define __AdamsBashforth5_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -35,7 +35,7 @@ struct AB5History
realx3 dy3_={0,0,0}; realx3 dy3_={0,0,0};
realx3 dy4_={0,0,0}; realx3 dy4_={0,0,0};
TypeNameNV("AB5History"); TypeInfoNV("AB5History");
}; };
@ -92,7 +92,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsBashforth5"); TypeInfo("AdamsBashforth5");
//// - Constructors //// - Constructors
AdamsBashforth5( AdamsBashforth5(
@ -184,4 +184,4 @@ bool pFlow::AdamsBashforth5::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsMoulton3.H" #include "AdamsMoulton3.hpp"
//const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0}; //const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0};

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsMoulton3_H__ #ifndef __AdamsMoulton3_hpp__
#define __AdamsMoulton3_H__ #define __AdamsMoulton3_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -49,7 +49,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsMoulton3"); TypeInfo("AdamsMoulton3");
//// - Constructors //// - Constructors
AdamsMoulton3( AdamsMoulton3(
@ -176,4 +176,4 @@ bool pFlow::AdamsMoulton3::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsMoulton4.H" #include "AdamsMoulton4.hpp"
//const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0}; //const real AB2_coef[] = { 3.0 / 2.0, 1.0 / 2.0};

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsMoulton4_H__ #ifndef __AdamsMoulton4_hpp__
#define __AdamsMoulton4_H__ #define __AdamsMoulton4_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -51,7 +51,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsMoulton4"); TypeInfo("AdamsMoulton4");
//// - Constructors //// - Constructors
AdamsMoulton4( AdamsMoulton4(
@ -182,4 +182,4 @@ bool pFlow::AdamsMoulton4::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "AdamsMoulton5.H" #include "AdamsMoulton5.hpp"
pFlow::AdamsMoulton5::AdamsMoulton5 pFlow::AdamsMoulton5::AdamsMoulton5

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __AdamsMoulton5_H__ #ifndef __AdamsMoulton5_hpp__
#define __AdamsMoulton5_H__ #define __AdamsMoulton5_hpp__
#include "integration.H" #include "integration.hpp"
#include "pointFields.H" #include "pointFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -53,7 +53,7 @@ protected:
public: public:
// type info // type info
TypeName("AdamsMoulton5"); TypeInfo("AdamsMoulton5");
//// - Constructors //// - Constructors
AdamsMoulton5( AdamsMoulton5(
@ -188,4 +188,4 @@ bool pFlow::AdamsMoulton5::intRange(
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -1,13 +1,13 @@
list(APPEND SourceFiles list(APPEND SourceFiles
integration/integration.C integration/integration.cpp
AdamsBashforth5/AdamsBashforth5.C AdamsBashforth5/AdamsBashforth5.cpp
AdamsBashforth4/AdamsBashforth4.C AdamsBashforth4/AdamsBashforth4.cpp
AdamsBashforth3/AdamsBashforth3.C AdamsBashforth3/AdamsBashforth3.cpp
AdamsBashforth2/AdamsBashforth2.C AdamsBashforth2/AdamsBashforth2.cpp
AdamsMoulton3/AdamsMoulton3.C AdamsMoulton3/AdamsMoulton3.cpp
AdamsMoulton4/AdamsMoulton4.C AdamsMoulton4/AdamsMoulton4.cpp
AdamsMoulton5/AdamsMoulton5.C AdamsMoulton5/AdamsMoulton5.cpp
) )
set(link_libs Kokkos::kokkos phasicFlow) set(link_libs Kokkos::kokkos phasicFlow)

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "integration.H" #include "integration.hpp"
pFlow::integration::integration pFlow::integration::integration
( (

View File

@ -18,14 +18,14 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __integration_H__ #ifndef __integration_hpp__
#define __integration_H__ #define __integration_hpp__
#include "virtualConstructor.H" #include "virtualConstructor.hpp"
#include "Vectors.H" #include "Vectors.hpp"
#include "pointStructure.H" #include "pointStructure.hpp"
#include "repository.H" #include "repository.hpp"
namespace pFlow namespace pFlow
@ -45,7 +45,7 @@ protected:
public: public:
// type info // type info
TypeName("integration"); TypeInfo("integration");
//// - Constructors //// - Constructors
integration( integration(
@ -108,4 +108,4 @@ public:
} // pFlow } // pFlow
#endif //__integration_H__ #endif //__integration_hpp__

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __integrations_H__ #ifndef __integrations_hpp__
#define __integrations_H__ #define __integrations_hpp__
#include "integration.H" #include "integration.hpp"
#include "AdamsBashforth2.H" #include "AdamsBashforth2.hpp"
#include "AdamsBashforth3.H" #include "AdamsBashforth3.hpp"
#endif #endif

View File

@ -1,9 +1,9 @@
set(SourceFiles set(SourceFiles
contactSearch/contactSearch/contactSearch.C contactSearch/contactSearch/contactSearch.cpp
contactSearch/ContactSearch/ContactSearchs.C contactSearch/ContactSearch/ContactSearchs.cpp
interaction/interaction.C interaction/interaction.cpp
sphereInteraction/sphereInteractions.C sphereInteraction/sphereInteractions.cpp
) )
set(link_libs Kokkos::kokkos phasicFlow Property Particles Geometry) set(link_libs Kokkos::kokkos phasicFlow Property Particles Geometry)

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __linearCF_H__ #ifndef __linearCF_hpp__
#define __linearCF_H__ #define __linearCF_hpp__
#include "types.H" #include "types.hpp"
#include "symArrays.H" #include "symArrays.hpp"
namespace pFlow::cfModels namespace pFlow::cfModels
{ {
@ -172,7 +172,7 @@ protected:
public: public:
TypeNameNV(modelName()); TypeInfoNV(modelName());
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
linear(){} linear(){}

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __nonLinearCF_H__ #ifndef __nonLinearCF_hpp__
#define __nonLinearCF_H__ #define __nonLinearCF_hpp__
#include "types.H" #include "types.hpp"
namespace pFlow::cfModels namespace pFlow::cfModels
{ {
@ -164,7 +164,7 @@ protected:
public: public:
TypeNameNV(modelName()); TypeInfoNV(modelName());
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
nonLinear(){} nonLinear(){}

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __nonLinearModCF_H__ #ifndef __nonLinearModCF_hpp__
#define __nonLinearModCF_H__ #define __nonLinearModCF_hpp__
#include "types.H" #include "types.hpp"
namespace pFlow::cfModels namespace pFlow::cfModels
{ {
@ -148,7 +148,7 @@ protected:
public: public:
TypeNameNV(modelName()); TypeInfoNV(modelName());
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
nonLinearMod(){} nonLinearMod(){}
@ -266,4 +266,4 @@ public:
} //pFlow::CFModels } //pFlow::CFModels
#endif //__nonLinearModCF_H__ #endif //__nonLinearModCF_hpp__

View File

@ -18,14 +18,14 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __contactForceModels_H__ #ifndef __contactForceModels_hpp__
#define __contactForceModels_H__ #define __contactForceModels_hpp__
#include "linearCF.H" #include "linearCF.hpp"
#include "nonLinearCF.H" #include "nonLinearCF.hpp"
#include "normalRolling.H" #include "normalRolling.hpp"
#include "nonLinearMod.H" #include "nonLinearMod.hpp"
namespace pFlow::cfModels namespace pFlow::cfModels
@ -45,4 +45,4 @@ using nonLimitedNonLinearModNormalRolling = normalRolling<nonLinearMod<false>>;
#endif //__contactForceModels_H__ #endif //__contactForceModels_hpp__

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __normalRolling_H__ #ifndef __normalRolling_hpp__
#define __normalRolling_H__ #define __normalRolling_hpp__
namespace pFlow::cfModels namespace pFlow::cfModels
@ -58,7 +58,7 @@ public:
public: public:
TypeNameNV(word("normal<"+contactForceModel::TYPENAME()+">")); TypeInfoNV(word("normal<"+contactForceModel::TYPENAME()+">"));
normalRolling(int32 nMaterial, const ViewType1D<real>& rho, const dictionary& dict) normalRolling(int32 nMaterial, const ViewType1D<real>& rho, const dictionary& dict)

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sortedContactList_H__ #ifndef __sortedContactList_hpp__
#define __sortedContactList_H__ #define __sortedContactList_hpp__
#include "sortedPairs.H" #include "sortedPairs.hpp"
namespace pFlow namespace pFlow
{ {
@ -78,7 +78,7 @@ protected:
public: public:
TypeNameNV("sortedContactList"); TypeInfoNV("sortedContactList");
sortedContactList(int32 initialSize =1) sortedContactList(int32 initialSize =1)
@ -168,4 +168,4 @@ public:
#endif //__sortedContactList_H__ #endif //__sortedContactList_hpp__

View File

@ -19,11 +19,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sortedPairs_H__ #ifndef __sortedPairs_hpp__
#define __sortedPairs_H__ #define __sortedPairs_hpp__
#include "unsortedPairs.H" #include "unsortedPairs.hpp"
#include "KokkosUtilities.H" #include "KokkosUtilities.hpp"
namespace pFlow namespace pFlow
{ {
@ -106,7 +106,7 @@ protected:
public: public:
// - type info // - type info
TypeNameNV("sortedPairs"); TypeInfoNV("sortedPairs");
// constructors // constructors
@ -255,4 +255,4 @@ public:
} }
#endif //__sortedPairs_H__ #endif //__sortedPairs_hpp__

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __unsortedContactList_H__ #ifndef __unsortedContactList_hpp__
#define __unsortedContactList_H__ #define __unsortedContactList_hpp__
namespace pFlow namespace pFlow
{ {
@ -78,7 +78,7 @@ protected:
public: public:
TypeNameNV("unsortedContactList"); TypeInfoNV("unsortedContactList");
unsortedContactList(int32 capacity=1) unsortedContactList(int32 capacity=1)
: :
@ -172,4 +172,4 @@ public:
} // pFlow } // pFlow
#endif //__unsortedContactList_H__ #endif //__unsortedContactList_hpp__

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __unsortedPairs_H__ #ifndef __unsortedPairs_hpp__
#define __unsortedPairs_H__ #define __unsortedPairs_hpp__
#include "KokkosTypes.H" #include "KokkosTypes.hpp"
#include "types.H" #include "types.hpp"
namespace pFlow namespace pFlow
{ {
@ -81,7 +81,7 @@ protected:
public: public:
// - type info // - type info
TypeNameNV("unsorderedPairs"); TypeInfoNV("unsorderedPairs");
// constructor // constructor
unsortedPairs(int32 capacity=1) unsortedPairs(int32 capacity=1)
@ -213,4 +213,4 @@ public:
} }
#endif //__unsortedPairs_H__ #endif //__unsortedPairs_hpp__

View File

@ -19,12 +19,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __ContactSearch_H__ #ifndef __ContactSearch_hpp__
#define __ContactSearch_H__ #define __ContactSearch_hpp__
#include "contactSearch.H" #include "contactSearch.hpp"
#include "box.H" #include "box.hpp"
namespace pFlow namespace pFlow
{ {
@ -64,7 +64,7 @@ protected:
public: public:
TypeNameTemplate2("ContactSearch", ParticleContactSearchType, WallMappingType); TypeInfoTemplate2("ContactSearch", ParticleContactSearchType, WallMappingType);
ContactSearch( ContactSearch(
const dictionary& csDict, const dictionary& csDict,
@ -245,4 +245,4 @@ public:
} }
#endif //__ContactSearch_H__ #endif //__ContactSearch_hpp__

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "ContactSearch.H" #include "ContactSearch.hpp"
#include "cellMapping.H" #include "cellMapping.hpp"
#include "NBS.H" #include "NBS.hpp"
#include "multiGridNBS.H" #include "multiGridNBS.hpp"
#include "multiGridMapping.H" #include "multiGridMapping.hpp"
template class pFlow::ContactSearch<pFlow::NBS, pFlow::cellMapping>; template class pFlow::ContactSearch<pFlow::NBS, pFlow::cellMapping>;

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __cells_H__ #ifndef __cells_hpp__
#define __cells_H__ #define __cells_hpp__
#include "types.H" #include "types.hpp"
#include "box.H" #include "box.hpp"
namespace pFlow namespace pFlow
{ {

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "contactSearch.H" #include "contactSearch.hpp"

View File

@ -19,14 +19,14 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __contactSearch_H__ #ifndef __contactSearch_hpp__
#define __contactSearch_H__ #define __contactSearch_hpp__
#include "interactionBase.H" #include "interactionBase.hpp"
#include "unsortedPairs.H" #include "unsortedPairs.hpp"
#include "box.H" #include "box.hpp"
#include "dictionary.H" #include "dictionary.hpp"
namespace pFlow namespace pFlow
{ {
@ -62,7 +62,7 @@ protected:
public: public:
TypeName("contactSearch"); TypeInfo("contactSearch");
contactSearch( contactSearch(
const dictionary& dict, const dictionary& dict,
@ -132,4 +132,4 @@ public:
} }
#endif //__ContactSearch_H__ #endif //__ContactSearch_hpp__

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __broadSearchFunctions_H__ #ifndef __broadSearchFunctions_hpp__
#define __broadSearchFunctions_H__ #define __broadSearchFunctions_hpp__
#include "types.H" #include "types.hpp"
#include "iBox.H" #include "iBox.hpp"
namespace pFlow namespace pFlow
{ {
@ -109,4 +109,4 @@ bool sphereSphereCheck(const realx3& p1, const realx3 p2, real d1, real d2)
} }
#endif //__broadSearchFunctions_H__ #endif //__broadSearchFunctions_hpp__

View File

@ -19,10 +19,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __NBS_H__ #ifndef __NBS_hpp__
#define __NBS_H__ #define __NBS_hpp__
#include "NBSLevel0.H" #include "NBSLevel0.hpp"
namespace pFlow namespace pFlow
{ {
@ -80,7 +80,7 @@ private:
public: public:
TypeNameNV("NBS"); TypeInfoNV("NBS");
NBS( NBS(
const dictionary& dict, const dictionary& dict,

View File

@ -1,8 +1,8 @@
#ifndef __NBSLevel_H__ #ifndef __NBSLevel_hpp__
#define __NBSLevel_H__ #define __NBSLevel_hpp__
#include "NBSLevel0.H" #include "NBSLevel0.hpp"
namespace pFlow namespace pFlow
@ -51,7 +51,7 @@ protected:
public: public:
TypeNameNV("NBSLevel0"); TypeInfoNV("NBSLevel0");
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
NBSLevel(){} NBSLevel(){}
@ -105,7 +105,7 @@ public:
"NBSLevel::findPairsCountCross", "NBSLevel::findPairsCountCross",
mdrPolicy, mdrPolicy,
CLASS_LAMBDA_HD(int32 i, int32 j, int32 k, int32& getFullUpdate){ CLASS_LAMBDA_HD(int32 i, int32 j, int32 k, int32& getFullUpdate){
#include "NBSCrossLoop.H" #include "NBSCrossLoop.hpp"
}, notInsertedPairs); }, notInsertedPairs);
return notInsertedPairs; return notInsertedPairs;

View File

@ -19,10 +19,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __NBSLevel0_H__ #ifndef __NBSLevel0_hpp__
#define __NBSLevel0_H__ #define __NBSLevel0_hpp__
#include "mapperNBS.H" #include "mapperNBS.hpp"
namespace pFlow namespace pFlow
{ {
@ -82,7 +82,7 @@ protected:
public: public:
TypeNameNV("NBSLevel0"); TypeInfoNV("NBSLevel0");
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
NBSLevel0(){} NBSLevel0(){}
@ -226,7 +226,7 @@ public:
"NBSLevel0::findPairs", "NBSLevel0::findPairs",
mdrPolicy, mdrPolicy,
CLASS_LAMBDA_HD(int32 i, int32 j, int32 k, int32& getFullUpdate){ CLASS_LAMBDA_HD(int32 i, int32 j, int32 k, int32& getFullUpdate){
#include "NBSLoop.H" #include "NBSLoop.hpp"
}, notInsertedPairs); }, notInsertedPairs);
return notInsertedPairs; return notInsertedPairs;
@ -237,4 +237,4 @@ public:
} // pFlow } // pFlow
#endif // __NBSLevel0_H__ #endif // __NBSLevel0_hpp__

View File

@ -1,9 +1,9 @@
#ifndef __NBSLevels_H__ #ifndef __NBSLevels_hpp__
#define __NBSLevels_H__ #define __NBSLevels_hpp__
#include "NBSLevel.H" #include "NBSLevel.hpp"
#include "NBSLevel0.H" #include "NBSLevel0.hpp"
#include "KokkosTypes.H" #include "KokkosTypes.hpp"
namespace pFlow namespace pFlow
{ {

View File

@ -19,13 +19,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __mapperNBS_H__ #ifndef __mapperNBS_hpp__
#define __mapperNBS_H__ #define __mapperNBS_hpp__
#include "cells.H" #include "cells.hpp"
#include "contactSearchFunctions.H" #include "contactSearchFunctions.hpp"
#include "baseAlgorithms.H" #include "baseAlgorithms.hpp"
#include "ViewAlgorithms.H" #include "ViewAlgorithms.hpp"
namespace pFlow namespace pFlow
{ {
@ -157,7 +157,7 @@ protected:
public: public:
TypeNameNV("mapperNBS"); TypeInfoNV("mapperNBS");
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
mapperNBS(){} mapperNBS(){}
@ -386,4 +386,4 @@ public:
} // pFlow } // pFlow
#endif // __mapperNBS_H__ #endif // __mapperNBS_hpp__

View File

@ -19,10 +19,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __multiGridNBS_H__ #ifndef __multiGridNBS_hpp__
#define __multiGridNBS_H__ #define __multiGridNBS_hpp__
#include "NBSLevels.H" #include "NBSLevels.hpp"
namespace pFlow namespace pFlow
{ {
@ -80,7 +80,7 @@ private:
public: public:
TypeNameNV("multiGridNBS"); TypeInfoNV("multiGridNBS");
multiGridNBS( multiGridNBS(
const dictionary& dict, const dictionary& dict,

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __cellMapping_H__ #ifndef __cellMapping_hpp__
#define __cellMapping_H__ #define __cellMapping_hpp__
#include "cellsWallLevel0.H" #include "cellsWallLevel0.hpp"
#include "dictionary.H" #include "dictionary.hpp"
namespace pFlow namespace pFlow
@ -84,7 +84,7 @@ private:
public: public:
TypeNameNV("cellMapping"); TypeInfoNV("cellMapping");
cellMapping( cellMapping(
const dictionary& dict, const dictionary& dict,

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __cellsWallLevel0_H__ #ifndef __cellsWallLevel0_hpp__
#define __cellsWallLevel0_H__ #define __cellsWallLevel0_hpp__
#include "types.H" #include "types.hpp"
#include "KokkosTypes.H" #include "KokkosTypes.hpp"
#include "cells.H" #include "cells.hpp"
#include "iBox.H" #include "iBox.hpp"
@ -95,7 +95,7 @@ protected:
public: public:
TypeNameNV("cellsWallLevel0"); TypeInfoNV("cellsWallLevel0");
INLINE_FUNCTION_HD INLINE_FUNCTION_HD
cellsWallLevel0(){} cellsWallLevel0(){}
@ -282,4 +282,4 @@ public:
} // pFlow } // pFlow
#endif // __cellsWallLevel0_H__ #endif // __cellsWallLevel0_hpp__

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __cellsWallLevels_H__ #ifndef __cellsWallLevels_hpp__
#define __cellsWallLevels_H__ #define __cellsWallLevels_hpp__
#include "cellsWallLevel0.H" #include "cellsWallLevel0.hpp"
namespace pFlow namespace pFlow
{ {
@ -58,7 +58,7 @@ protected:
public: public:
TypeNameNV("cellsWallLevels"); TypeInfoNV("cellsWallLevels");
FUNCTION_H FUNCTION_H
cellsWallLevels( cellsWallLevels(
@ -149,4 +149,4 @@ public:
} // pFlow } // pFlow
#endif // __cellsWallLevels_H__ #endif // __cellsWallLevels_hpp__

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __multiGridMapping_H__ #ifndef __multiGridMapping_hpp__
#define __multiGridMapping_H__ #define __multiGridMapping_hpp__
#include "cellsWallLevels.H" #include "cellsWallLevels.hpp"
#include "dictionary.H" #include "dictionary.hpp"
namespace pFlow namespace pFlow
@ -84,7 +84,7 @@ private:
public: public:
TypeNameNV("multiGridMapping"); TypeInfoNV("multiGridMapping");
multiGridMapping( multiGridMapping(
const dictionary& dict, const dictionary& dict,

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __demInteraction_H__ #ifndef __demInteraction_hpp__
#define __demInteraction_H__ #define __demInteraction_hpp__
#include "property.H" #include "property.hpp"
#include "demComponent.H" #include "demComponent.hpp"
#include "pointFields.H" #include "pointFields.hpp"
#include "triSurfaceFields.H" #include "triSurfaceFields.hpp"
namespace pFlow namespace pFlow
{ {
@ -56,4 +56,4 @@ public:
} }
#endif //__interaction_H__ #endif //__interaction_hpp__

View File

@ -18,7 +18,7 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "interaction.H" #include "interaction.hpp"
pFlow::interaction::interaction pFlow::interaction::interaction

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __interaction_H__ #ifndef __interaction_hpp__
#define __interaction_H__ #define __interaction_hpp__
#include "demInteraction.H" #include "demInteraction.hpp"
#include "eventObserver.H" #include "eventObserver.hpp"
#include "interactionBase.H" #include "interactionBase.hpp"
#include "contactSearch.H" #include "contactSearch.hpp"
@ -55,7 +55,7 @@ protected:
public: public:
TypeName("interaction"); TypeInfo("interaction");
//// - constructors //// - constructors
@ -106,4 +106,4 @@ public:
} }
#endif //__interaction_H__ #endif //__interaction_hpp__

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __interactionBase_H__ #ifndef __interactionBase_hpp__
#define __interactionBase_H__ #define __interactionBase_hpp__
#include "interactionTypes.H" #include "interactionTypes.hpp"
#include "particles.H" #include "particles.hpp"
#include "geometry.H" #include "geometry.hpp"
namespace pFlow namespace pFlow
{ {
@ -81,4 +81,4 @@ public:
} }
#endif //__interactionBase_H__ #endif //__interactionBase_hpp__

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __interactionTypes_H__ #ifndef __interactionTypes_hpp__
#define __interactionTypes_H__ #define __interactionTypes_hpp__
#include "types.H" #include "types.hpp"
namespace pFlow namespace pFlow
@ -42,4 +42,4 @@ using ID_TYPE = int32;
} }
#endif //__interactionTypes_H__ #endif //__interactionTypes_hpp__

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __pLine_H__ #ifndef __pLine_hpp__
#define __pLine_H__ #define __pLine_hpp__
#include "types.H" #include "types.hpp"
namespace pFlow::sphTriInteraction namespace pFlow::sphTriInteraction
{ {

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sphereInteraction_H__ #ifndef __sphereInteraction_hpp__
#define __sphereInteraction_H__ #define __sphereInteraction_hpp__
#include "interaction.H" #include "interaction.hpp"
#include "sphereParticles.H" #include "sphereParticles.hpp"
#include "sphereInteractionKernels.H" #include "sphereInteractionKernels.hpp"
namespace pFlow namespace pFlow
{ {
@ -97,7 +97,7 @@ protected:
public: public:
TypeNameTemplate3("sphereInteraction", ContactForceModel, MotionModel, ContactListType); TypeInfoTemplate3("sphereInteraction", ContactForceModel, MotionModel, ContactListType);
// constructor // constructor
@ -221,6 +221,6 @@ public:
} }
#include "sphereInteraction.C" #include "sphereInteraction.cpp"
#endif //__sphereInteraction_H__ #endif //__sphereInteraction_hpp__

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sphereInteractionKernels_H__ #ifndef __sphereInteractionKernels_hpp__
#define __sphereInteractionKernels_H__ #define __sphereInteractionKernels_hpp__
#include "sphereTriSurfaceContact.H" #include "sphereTriSurfaceContact.hpp"
namespace pFlow::sphereInteractionKernels namespace pFlow::sphereInteractionKernels
{ {
@ -322,4 +322,4 @@ struct pwInteractionFunctor
} }
#endif //__sphereInteractionKernels_H__ #endif //__sphereInteractionKernels_hpp__

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "sphereInteraction.H" #include "sphereInteraction.hpp"
#include "geometryMotions.H" #include "geometryMotions.hpp"
#include "contactForceModels.H" #include "contactForceModels.hpp"
#include "unsortedContactList.H" #include "unsortedContactList.hpp"
#include "sortedContactList.H" #include "sortedContactList.hpp"
template class pFlow::sphereInteraction< template class pFlow::sphereInteraction<
pFlow::cfModels::limitedLinearNormalRolling, pFlow::cfModels::limitedLinearNormalRolling,

View File

@ -19,11 +19,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __sphereTriSurfaceContact_H__ #ifndef __sphereTriSurfaceContact_hpp__
#define __sphereTriSurfaceContact_H__ #define __sphereTriSurfaceContact_hpp__
#include "triWall.H" #include "triWall.hpp"
#include "pLine.H" #include "pLine.hpp"
namespace pFlow::sphTriInteraction namespace pFlow::sphTriInteraction
{ {
@ -228,4 +228,4 @@ bool isSphereInContactBothSides(
} // pFlow::sphTriInteraction } // pFlow::sphTriInteraction
#endif //__sphereTriSurfaceContact_H__ #endif //__sphereTriSurfaceContact_hpp__

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __triWall_H__ #ifndef __triWall_hpp__
#define __triWall_H__ #define __triWall_hpp__
#include "types.H" #include "types.hpp"
namespace pFlow::sphTriInteraction namespace pFlow::sphTriInteraction
{ {

View File

@ -1,8 +1,8 @@
list(APPEND SourceFiles list(APPEND SourceFiles
entities/rotatingAxis/rotatingAxis.C entities/rotatingAxis/rotatingAxis.cpp
fixedWall/fixedWall.C fixedWall/fixedWall.cpp
rotatingAxisMotion/rotatingAxisMotion.C rotatingAxisMotion/rotatingAxisMotion.cpp
) )
set(link_libs Kokkos::kokkos phasicFlow) set(link_libs Kokkos::kokkos phasicFlow)

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "rotatingAxis.H" #include "rotatingAxis.hpp"
#include "dictionary.H" #include "dictionary.hpp"
/*FUNCTION_HD /*FUNCTION_HD
pFlow::rotatingAxis::rotatingAxis() pFlow::rotatingAxis::rotatingAxis()

View File

@ -18,10 +18,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __rotatingAxis_H__ #ifndef __rotatingAxis_hpp__
#define __rotatingAxis_H__ #define __rotatingAxis_hpp__
#include "line.H" #include "line.hpp"
namespace pFlow namespace pFlow
{ {
@ -29,7 +29,7 @@ namespace pFlow
class dictionary; class dictionary;
class rotatingAxis; class rotatingAxis;
#include "rotatingAxisFwd.H" #include "rotatingAxisFwd.hpp"
class rotatingAxis class rotatingAxis
: :
@ -107,6 +107,6 @@ inline iIstream& operator >>(iIstream& is, rotatingAxis& ax)
} }
#include "rotatingAxisI.H" #include "rotatingAxisI.hpp"
#endif #endif

View File

@ -18,9 +18,9 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "fixedWall.H" #include "fixedWall.hpp"
#include "dictionary.H" #include "dictionary.hpp"
#include "vocabs.H" #include "vocabs.hpp"
bool pFlow::fixedWall::readDictionary bool pFlow::fixedWall::readDictionary
( (

View File

@ -18,14 +18,14 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __fixedWall_H__ #ifndef __fixedWall_hpp__
#define __fixedWall_H__ #define __fixedWall_hpp__
#include "types.H" #include "types.hpp"
#include "typeInfo.H" #include "typeInfo.hpp"
#include "Vectors.H" #include "Vectors.hpp"
#include "uniquePtr.H" #include "uniquePtr.hpp"
@ -89,7 +89,7 @@ protected:
public: public:
TypeNameNV("fixedWall"); TypeInfoNV("fixedWall");
// empty // empty
fixedWall(); fixedWall();
@ -167,4 +167,4 @@ public:
} // pFlow } // pFlow
#endif //__fixed_H__ #endif //__fixed_hpp__

View File

@ -18,9 +18,9 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "rotatingAxisMotion.H" #include "rotatingAxisMotion.hpp"
#include "dictionary.H" #include "dictionary.hpp"
#include "vocabs.H" #include "vocabs.hpp"
bool pFlow::rotatingAxisMotion::readDictionary bool pFlow::rotatingAxisMotion::readDictionary

View File

@ -18,16 +18,16 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __rotatingAxisMotion_H__ #ifndef __rotatingAxisMotion_hpp__
#define __rotatingAxisMotion_H__ #define __rotatingAxisMotion_hpp__
#include "types.H" #include "types.hpp"
#include "typeInfo.H" #include "typeInfo.hpp"
#include "VectorDual.H" #include "VectorDual.hpp"
#include "Vectors.H" #include "Vectors.hpp"
#include "List.H" #include "List.hpp"
#include "rotatingAxis.H" #include "rotatingAxis.hpp"
namespace pFlow namespace pFlow
@ -104,7 +104,7 @@ protected:
public: public:
TypeNameNV("rotatingAxisMotion"); TypeInfoNV("rotatingAxisMotion");
// empty // empty
FUNCTION_H FUNCTION_H
@ -215,4 +215,4 @@ public:
} // pFlow } // pFlow
#endif //__rotatingAxisMotion_H__ #endif //__rotatingAxisMotion_hpp__

View File

@ -1,14 +1,14 @@
set(SourceFiles set(SourceFiles
dynamicPointStructure/dynamicPointStructure.C dynamicPointStructure/dynamicPointStructure.cpp
particles/particles.C particles/particles.cpp
SphereParticles/sphereShape/sphereShape.C SphereParticles/sphereShape/sphereShape.cpp
SphereParticles/sphereParticles/sphereParticles.C SphereParticles/sphereParticles/sphereParticles.cpp
Insertion/shapeMixture/shapeMixture.C Insertion/shapeMixture/shapeMixture.cpp
Insertion/insertion/insertion.C Insertion/insertion/insertion.cpp
Insertion/Insertion/Insertions.C Insertion/Insertion/Insertions.cpp
Insertion/insertionRegion/insertionRegion.C Insertion/insertionRegion/insertionRegion.cpp
Insertion/insertionRegion/timeFlowControl.C Insertion/insertionRegion/timeFlowControl.cpp
) )
set(link_libs Kokkos::kokkos phasicFlow Integration Property) set(link_libs Kokkos::kokkos phasicFlow Integration Property)

View File

@ -19,14 +19,14 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __Insertion_H__ #ifndef __Insertion_hpp__
#define __Insertion_H__ #define __Insertion_hpp__
#include "insertion.H" #include "insertion.hpp"
#include "ListPtr.H" #include "ListPtr.hpp"
#include "InsertionRegion.H" #include "InsertionRegion.hpp"
#include "particles.H" #include "particles.hpp"
namespace pFlow namespace pFlow
{ {
@ -50,7 +50,7 @@ protected:
public: public:
TypeNameTemplateNV("Insertion",ShapeType); TypeInfoTemplateNV("Insertion",ShapeType);
Insertion(particles& prtcl, const ShapeType& shapes); Insertion(particles& prtcl, const ShapeType& shapes);
@ -65,6 +65,6 @@ public:
} }
#include "Insertion.C" #include "Insertion.cpp"
#endif #endif

View File

@ -19,6 +19,6 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "Insertions.H" #include "Insertions.hpp"
template class pFlow::Insertion<pFlow::sphereShape>; template class pFlow::Insertion<pFlow::sphereShape>;

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __Insertions_H__ #ifndef __Insertions_hpp__
#define __Insertions_H__ #define __Insertions_hpp__
#include "Insertion.H" #include "Insertion.hpp"
#include "sphereShape.H" #include "sphereShape.hpp"
namespace pFlow namespace pFlow
{ {

View File

@ -18,12 +18,12 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __InsertionRegion_H__ #ifndef __InsertionRegion_hpp__
#define __InsertionRegion_H__ #define __InsertionRegion_hpp__
#include "insertionRegion.H" #include "insertionRegion.hpp"
#include "dictionary.H" #include "dictionary.hpp"
namespace pFlow namespace pFlow
{ {
@ -46,7 +46,7 @@ protected:
public: public:
// - type info // - type info
TypeNameTemplateNV("insertionRegion", ShapeType); TypeInfoTemplateNV("insertionRegion", ShapeType);
InsertionRegion(const dictionary& dict, const ShapeType& shapes); InsertionRegion(const dictionary& dict, const ShapeType& shapes);
@ -90,6 +90,6 @@ public:
} // pFlow } // pFlow
#include "InsertionRegion.C" #include "InsertionRegion.cpp"
#endif #endif

View File

@ -19,10 +19,10 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "particles.H" #include "particles.hpp"
#include "dictionary.H" #include "dictionary.hpp"
#include "insertion.H" #include "insertion.hpp"
#include "streams.H" #include "streams.hpp"
bool pFlow::insertion::readInsertionDict bool pFlow::insertion::readInsertionDict
( (

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __insertion_H__ #ifndef __insertion_hpp__
#define __insertion_H__ #define __insertion_hpp__
#include "streams.H" #include "streams.hpp"
namespace pFlow namespace pFlow
{ {
@ -50,7 +50,7 @@ protected:
public: public:
// type info // type info
TypeName("insertion"); TypeInfo("insertion");
insertion(particles& prtcl); insertion(particles& prtcl);

View File

@ -19,8 +19,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "insertionRegion.H" #include "insertionRegion.hpp"
#include "dictionary.H" #include "dictionary.hpp"
bool pFlow::insertionRegion::readInsertionRegion bool pFlow::insertionRegion::readInsertionRegion
( (

View File

@ -18,13 +18,13 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __insertionRegion_H__ #ifndef __insertionRegion_hpp__
#define __insertionRegion_H__ #define __insertionRegion_hpp__
#include "timeFlowControl.H" #include "timeFlowControl.hpp"
#include "shapeMixture.H" #include "shapeMixture.hpp"
#include "peakableRegions.H" #include "peakableRegions.hpp"
#include "setFieldList.H" #include "setFieldList.hpp"
namespace pFlow namespace pFlow
{ {
@ -60,7 +60,7 @@ protected:
public: public:
TypeNameNV("insertionRegion"); TypeInfoNV("insertionRegion");
//// - Constructors //// - Constructors
@ -111,4 +111,4 @@ public:
} //pFlow } //pFlow
#endif //__insertionRegion_H__ #endif //__insertionRegion_hpp__

View File

@ -18,8 +18,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "timeFlowControl.H" #include "timeFlowControl.hpp"
#include "dictionary.H" #include "dictionary.hpp"
bool pFlow::timeFlowControl::readTimeFlowControl bool pFlow::timeFlowControl::readTimeFlowControl
( (

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __timeFlowControl_H__ #ifndef __timeFlowControl_hpp__
#define __timeFlowControl_H__ #define __timeFlowControl_hpp__
#include "types.H" #include "types.hpp"
#include "streams.H" #include "streams.hpp"
namespace pFlow namespace pFlow
{ {
@ -95,4 +95,4 @@ public:
} }
#endif //__timeFlowControl_H__ #endif //__timeFlowControl_hpp__

View File

@ -19,8 +19,8 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#include "shapeMixture.H" #include "shapeMixture.hpp"
#include "dictionary.H" #include "dictionary.hpp"
pFlow::shapeMixture::shapeMixture pFlow::shapeMixture::shapeMixture

View File

@ -18,11 +18,11 @@ Licence:
-----------------------------------------------------------------------------*/ -----------------------------------------------------------------------------*/
#ifndef __shapeMixture_H__ #ifndef __shapeMixture_hpp__
#define __shapeMixture_H__ #define __shapeMixture_hpp__
#include "Vectors.H" #include "Vectors.hpp"
namespace pFlow namespace pFlow
{ {
@ -47,7 +47,7 @@ protected:
public: public:
//- type Info //- type Info
TypeNameNV("shapeMixture"); TypeInfoNV("shapeMixture");
//// - constrcutores //// - constrcutores
@ -101,4 +101,4 @@ public:
} // pFlow } // pFlow
#endif //__shapeMixture_H__ #endif //__shapeMixture_hpp__

Some files were not shown because too many files have changed in this diff Show More