Skip to content
Snippets Groups Projects
Commit 809e23cd authored by Michael Kuron's avatar Michael Kuron :mortar_board:
Browse files

Add createConfiguration functions to pe_coupling boundaries

While it makes no sense to create these boundary types from a config file, geometry::initBoundaryHandling needs this function to be present for all boundary types in the boundary handling.
parent cd7d2c52
No related merge requests found
...@@ -71,6 +71,12 @@ class CurvedLinear : public Boundary< typename FlagField_T::flag_t > ...@@ -71,6 +71,12 @@ class CurvedLinear : public Boundary< typename FlagField_T::flag_t >
public: public:
static shared_ptr<BoundaryConfiguration> createConfiguration( const Config::BlockHandle& )
{
WALBERLA_ABORT( "A CurvedLinear boundary cannot be created from a config file" );
return make_shared<BoundaryConfiguration>();
}
inline CurvedLinear( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField, inline CurvedLinear( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField,
BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block ); BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block );
......
...@@ -81,6 +81,12 @@ class CurvedQuadratic : public Boundary< typename FlagField_T::flag_t > ...@@ -81,6 +81,12 @@ class CurvedQuadratic : public Boundary< typename FlagField_T::flag_t >
public: public:
static shared_ptr<BoundaryConfiguration> createConfiguration( const Config::BlockHandle& )
{
WALBERLA_ABORT( "A CurvedQuadratic boundary cannot be created from a config file" );
return make_shared<BoundaryConfiguration>();
}
inline CurvedQuadratic( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField, inline CurvedQuadratic( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField,
BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block, BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block,
PDFField_T * const pdfFieldPreCollision ); PDFField_T * const pdfFieldPreCollision );
......
...@@ -67,6 +67,12 @@ class SimpleBB : public Boundary< typename FlagField_T::flag_t > ...@@ -67,6 +67,12 @@ class SimpleBB : public Boundary< typename FlagField_T::flag_t >
public: public:
static shared_ptr<BoundaryConfiguration> createConfiguration( const Config::BlockHandle& )
{
WALBERLA_ABORT( "A SimpleBB boundary cannot be created from a config file" );
return make_shared<BoundaryConfiguration>();
}
inline SimpleBB( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField, inline SimpleBB( const BoundaryUID & boundaryUID, const FlagUID & uid, PDFField_T * const pdfField, const FlagField_T * const flagField,
BodyField * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block ); BodyField * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block );
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment