Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
Public Member Functions | Protected Attributes | Private Attributes | List of all members
fub::amrex::PlotfileOutput< Equation > Class Template Referenceabstract

#include <WritePlotfiles.hpp>

Public Member Functions

 PlotfileOutput (const ProgramOptions &options, const Equation &equation)
 
 PlotfileOutput (std::vector< std::ptrdiff_t > freqs, std::vector< Duration > intervals, const Equation &equation, const std::string &path)
 
void operator() (const GriddingAlgorithm &grid) override
 
Duration NextOutputTime (Duration time_point) override
 Returns the time point at which the simulation shall stop to do some output. More...
 
bool ShallOutputNow (const GriddingAlgorithm &grid) override
 Returns true if this output class shall be invoked at the specified time point. More...
 
template<typename Log >
void Print (Log &log)
 
virtual void operator() (const GriddingAlgorithm &grid)=0
 Invoke the actual output logic. More...
 

Protected Attributes

std::vector< std::ptrdiff_t > frequencies_
 
std::vector< fub::Durationintervals_
 
Duration smallest_time_step_size_
 

Private Attributes

Equation equation_
 
std::string parent_path_
 

Constructor & Destructor Documentation

◆ PlotfileOutput() [1/2]

template<typename Equation >
fub::amrex::PlotfileOutput< Equation >::PlotfileOutput ( const ProgramOptions options,
const Equation &  equation 
)
inline

◆ PlotfileOutput() [2/2]

template<typename Equation >
fub::amrex::PlotfileOutput< Equation >::PlotfileOutput ( std::vector< std::ptrdiff_t >  freqs,
std::vector< Duration intervals,
const Equation &  equation,
const std::string &  path 
)
inline

Member Function Documentation

◆ NextOutputTime()

template<typename GriddingAlgorithm >
Duration fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::NextOutputTime ( Duration  time_point)
inlineoverridevirtualinherited

Returns the time point at which the simulation shall stop to do some output.

Implements fub::BasicOutput< GriddingAlgorithm >.

◆ operator()() [1/2]

template<typename Equation >
void fub::amrex::PlotfileOutput< Equation >::operator() ( const GriddingAlgorithm grid)
inlineoverride

◆ operator()() [2/2]

template<typename GriddingAlgorithm >
virtual void fub::BasicOutput< GriddingAlgorithm >::operator() ( const GriddingAlgorithm &  grid)
pure virtualinherited

◆ Print()

template<typename GriddingAlgorithm >
template<typename Log >
void fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::Print ( Log log)
inlineinherited

◆ ShallOutputNow()

template<typename GriddingAlgorithm >
bool fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::ShallOutputNow ( const GriddingAlgorithm &  grid)
inlineoverridevirtualinherited

Returns true if this output class shall be invoked at the specified time point.

Implements fub::BasicOutput< GriddingAlgorithm >.

Member Data Documentation

◆ equation_

template<typename Equation >
Equation fub::amrex::PlotfileOutput< Equation >::equation_
private

◆ frequencies_

template<typename GriddingAlgorithm >
std::vector<std::ptrdiff_t> fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::frequencies_
protectedinherited

◆ intervals_

template<typename GriddingAlgorithm >
std::vector<fub::Duration> fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::intervals_
protectedinherited

◆ parent_path_

template<typename Equation >
std::string fub::amrex::PlotfileOutput< Equation >::parent_path_
private

◆ smallest_time_step_size_

template<typename GriddingAlgorithm >
Duration fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >::smallest_time_step_size_
protectedinherited

The documentation for this class was generated from the following file: