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 wrapper class for FluxMethod strategies used by IntegratorContext. More...
#include <HyperbolicMethod.hpp>
Public Member Functions | |
AnyFluxMethod ()=delete | |
AnyFluxMethod (const AnyFluxMethod &other) | |
AnyFluxMethod & | operator= (const AnyFluxMethod &other) |
AnyFluxMethod (AnyFluxMethod &&other) noexcept=default | |
AnyFluxMethod & | operator= (AnyFluxMethod &&other) noexcept=default |
template<typename R , typename = std::enable_if_t<!decays_to<R, AnyFluxMethod>()>> | |
AnyFluxMethod (R &&r) | |
Duration | ComputeStableDt (IntegratorContext &context, int level, Direction dir) |
void | PreAdvanceHierarchy (IntegratorContext &context) |
void | ComputeNumericFluxes (IntegratorContext &context, int level, Duration dt, Direction dir) |
int | GetStencilWidth () const |
template<typename I , typename > | |
AnyFluxMethod (I &&flux_method) | |
Private Attributes | |
std::unique_ptr< detail::FluxMethodBase< IntegratorContext > > | flux_method_ |
This is a polymorphic wrapper class for FluxMethod strategies used by IntegratorContext.
|
delete |
fub::AnyFluxMethod< IntegratorContext >::AnyFluxMethod | ( | const AnyFluxMethod< IntegratorContext > & | other | ) |
|
defaultnoexcept |
fub::AnyFluxMethod< IntegratorContext >::AnyFluxMethod | ( | R && | r | ) |
fub::AnyFluxMethod< IntegratorContext >::AnyFluxMethod | ( | I && | flux_method | ) |
void fub::AnyFluxMethod< IntegratorContext >::ComputeNumericFluxes | ( | IntegratorContext & | context, |
int | level, | ||
Duration | dt, | ||
Direction | dir | ||
) |
Duration fub::AnyFluxMethod< IntegratorContext >::ComputeStableDt | ( | IntegratorContext & | context, |
int | level, | ||
Direction | dir | ||
) |
int fub::AnyFluxMethod< IntegratorContext >::GetStencilWidth |
|
defaultnoexcept |
AnyFluxMethod< IntegratorContext > & fub::AnyFluxMethod< IntegratorContext >::operator= | ( | const AnyFluxMethod< IntegratorContext > & | other | ) |
void fub::AnyFluxMethod< IntegratorContext >::PreAdvanceHierarchy | ( | IntegratorContext & | context | ) |
|
private |