diff --git a/src/pe_coupling/momentum_exchange_method/boundary/CurvedLinear.h b/src/pe_coupling/momentum_exchange_method/boundary/CurvedLinear.h index b23b33c83ef134373c739a7234c75fbce4073363..05fee404db1b0cb47a1d1a28216ee7de481dca1d 100644 --- a/src/pe_coupling/momentum_exchange_method/boundary/CurvedLinear.h +++ b/src/pe_coupling/momentum_exchange_method/boundary/CurvedLinear.h @@ -71,6 +71,12 @@ class CurvedLinear : public Boundary< typename FlagField_T::flag_t > 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, BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block ); diff --git a/src/pe_coupling/momentum_exchange_method/boundary/CurvedQuadratic.h b/src/pe_coupling/momentum_exchange_method/boundary/CurvedQuadratic.h index fa0b22852f6997a4ed9a4e7801ccc48222405c98..ea6fe8b665bcc9dfb7aab137774cfee05680a545 100644 --- a/src/pe_coupling/momentum_exchange_method/boundary/CurvedQuadratic.h +++ b/src/pe_coupling/momentum_exchange_method/boundary/CurvedQuadratic.h @@ -81,6 +81,12 @@ class CurvedQuadratic : public Boundary< typename FlagField_T::flag_t > 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, BodyField_T * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block, PDFField_T * const pdfFieldPreCollision ); diff --git a/src/pe_coupling/momentum_exchange_method/boundary/SimpleBB.h b/src/pe_coupling/momentum_exchange_method/boundary/SimpleBB.h index cfe78d575837e17f1f6adc63179bf48a5a3ab93b..0d7af9d9ae3f9817147bbfdf4ed294c8f85ac848 100644 --- a/src/pe_coupling/momentum_exchange_method/boundary/SimpleBB.h +++ b/src/pe_coupling/momentum_exchange_method/boundary/SimpleBB.h @@ -67,6 +67,12 @@ class SimpleBB : public Boundary< typename FlagField_T::flag_t > 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, BodyField * const bodyField, const flag_t domain, const StructuredBlockStorage & blockStorage, const IBlock & block );