Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
This is a polymorphic value type that wraps any BoundaryCondition object. More...
#include <AnyBoundaryCondition.hpp>
Public Types | |
using | DataReference = typename GridTraits< GriddingAlgorithm >::DataReference |
Public Member Functions | |
Constructors | |
AnyBoundaryCondition ()=default | |
This constructs a method that does nothing on invocation. More... | |
template<typename BC , typename = std::enable_if_t<!decays_to<BC, AnyBoundaryCondition>()>> | |
AnyBoundaryCondition (BC &&bc) | |
Stores any object which satisfies the BoundaryCondition concept. More... | |
AnyBoundaryCondition (const AnyBoundaryCondition &other) | |
Copies the implementation. More... | |
AnyBoundaryCondition & | operator= (const AnyBoundaryCondition &other) |
Copies the implementation. More... | |
AnyBoundaryCondition (AnyBoundaryCondition &&)=default | |
Moves the other object without allocating and leaves an empty method. More... | |
AnyBoundaryCondition & | operator= (AnyBoundaryCondition &&)=default |
Moves the other object without allocating and leaves an empty method. More... | |
Actions | |
void | FillBoundary (DataReference data, const GriddingAlgorithm &gridding, int level) |
Fill the boundary layer of data. More... | |
void | FillBoundary (DataReference data, const GriddingAlgorithm &gridding, int level, Direction dir) |
Fill the boundary layer of data in direction dir only. More... | |
Private Attributes | |
std::unique_ptr< detail::BoundaryConditionBase< GriddingAlgorithm > > | boundary_condition_ |
This is a polymorphic value type that wraps any BoundaryCondition object.
using fub::AnyBoundaryCondition< GriddingAlgorithm >::DataReference = typename GridTraits<GriddingAlgorithm>::DataReference |
|
default |
This constructs a method that does nothing on invocation.
Nothing. |
fub::AnyBoundaryCondition< GriddingAlgorithm >::AnyBoundaryCondition | ( | BC && | bc | ) |
Stores any object which satisfies the BoundaryCondition concept.
fub::AnyBoundaryCondition< GriddingAlgorithm >::AnyBoundaryCondition | ( | const AnyBoundaryCondition< GriddingAlgorithm > & | other | ) |
Copies the implementation.
|
default |
Moves the other
object without allocating and leaves an empty method.
void fub::AnyBoundaryCondition< GriddingAlgorithm >::FillBoundary | ( | DataReference | data, |
const GriddingAlgorithm & | gridding, | ||
int | level | ||
) |
Fill the boundary layer of data.
void fub::AnyBoundaryCondition< GriddingAlgorithm >::FillBoundary | ( | DataReference | data, |
const GriddingAlgorithm & | gridding, | ||
int | level, | ||
Direction | dir | ||
) |
Fill the boundary layer of data in direction dir
only.
|
default |
Moves the other
object without allocating and leaves an empty method.
AnyBoundaryCondition< GriddingAlgorithm > & fub::AnyBoundaryCondition< GriddingAlgorithm >::operator= | ( | const AnyBoundaryCondition< GriddingAlgorithm > & | other | ) |
Copies the implementation.
|
private |