waLBerla 7.3
Loading...
Searching...
No Matches
walberla::sweepgen::GenericBoundaryFactory< Impl > Class Template Reference

#include <GenericBoundary.hpp>

Public Member Functions

 GenericBoundaryFactory (const shared_ptr< StructuredBlockForest > blocks)
template<typename FlagField_T>
auto fromFlagField (BlockDataID flagFieldID, field::FlagUID boundaryFlagUID, field::FlagUID fluidFlagUID)
template<typename TPredicate>
auto fromLinks (TPredicate pred)
 Construct a boundary condition sweep by selecting boundary links via a predicate.
template<ContainsCallable Body>
auto fromBody (Body body)
template<ContainsCallable Body, typename TDataStruct>
auto fromBody (Body body, TDataStruct data)
template<typename TDist>
auto fromDistanceFunction (TDist dist)
template<typename TDist, typename TDataStruct>
auto fromDistanceFunction (TDist dist, TDataStruct data)

Protected Attributes

shared_ptr< StructuredBlockForestblocks_

Private Member Functions

Impl & impl ()
const Impl & impl () const

Constructor & Destructor Documentation

◆ GenericBoundaryFactory()

template<typename Impl>
walberla::sweepgen::GenericBoundaryFactory< Impl >::GenericBoundaryFactory ( const shared_ptr< StructuredBlockForest > blocks)
inline

Member Function Documentation

◆ fromBody() [1/2]

template<typename Impl>
template<ContainsCallable Body>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromBody ( Body body)
inline

◆ fromBody() [2/2]

template<typename Impl>
template<ContainsCallable Body, typename TDataStruct>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromBody ( Body body,
TDataStruct data )
inline

◆ fromDistanceFunction() [1/2]

template<typename Impl>
template<typename TDist>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromDistanceFunction ( TDist dist)
inline

◆ fromDistanceFunction() [2/2]

template<typename Impl>
template<typename TDist, typename TDataStruct>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromDistanceFunction ( TDist dist,
TDataStruct data )
inline

◆ fromFlagField()

template<typename Impl>
template<typename FlagField_T>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromFlagField ( BlockDataID flagFieldID,
field::FlagUID boundaryFlagUID,
field::FlagUID fluidFlagUID )
inline

◆ fromLinks()

template<typename Impl>
template<typename TPredicate>
auto walberla::sweepgen::GenericBoundaryFactory< Impl >::fromLinks ( TPredicate pred)
inline

Construct a boundary condition sweep by selecting boundary links via a predicate.

Construct a boundary condition sweep by iterating over all lattice links and setting the boundary condition on all links where the given predicate pred evaluates to true.

Parameters
predPredicate to select boundary links.

◆ impl() [1/2]

template<typename Impl>
Impl & walberla::sweepgen::GenericBoundaryFactory< Impl >::impl ( )
inlineprivate

◆ impl() [2/2]

template<typename Impl>
const Impl & walberla::sweepgen::GenericBoundaryFactory< Impl >::impl ( ) const
inlineprivate

Member Data Documentation

◆ blocks_

template<typename Impl>
shared_ptr< StructuredBlockForest > walberla::sweepgen::GenericBoundaryFactory< Impl >::blocks_
protected

The documentation for this class was generated from the following file:
  • /builds/administration/walberla-website/walberla/include/walberla/sweepgen/boundaries/GenericBoundary.hpp