Loading [MathJax]/extensions/tex2jax.js
Finite Volume Solver  prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Attributes | Private Attributes | List of all members
fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration > Class Template Referenceabstract

#include <MultiBlockGriddingAlgorithm.hpp>

Public Member Functions

 CounterOutput (const ProgramOptions &po, std::chrono::steady_clock::time_point ref)
 
 CounterOutput (const ProgramOptions &po)
 
 CounterOutput (std::chrono::steady_clock::time_point reference, std::vector< std::ptrdiff_t > frequencies, std::vector< Duration > intervals)
 
void operator() (const amrex::MultiBlockGriddingAlgorithm &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 amrex::MultiBlockGriddingAlgorithm &grid) override
 Returns true if this output class shall be invoked at the specified time point. More...
 
virtual bool ShallOutputNow (const GriddingAlgorithm &grid)=0
 Returns true if this output class shall be invoked at the specified time point. More...
 
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

std::chrono::steady_clock::time_point reference_
 

Constructor & Destructor Documentation

◆ CounterOutput() [1/3]

template<typename PrintDuration >
fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration >::CounterOutput ( const ProgramOptions po,
std::chrono::steady_clock::time_point  ref 
)
inline

◆ CounterOutput() [2/3]

template<typename PrintDuration >
fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration >::CounterOutput ( const ProgramOptions po)
inline

◆ CounterOutput() [3/3]

template<typename PrintDuration >
fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration >::CounterOutput ( std::chrono::steady_clock::time_point  reference,
std::vector< std::ptrdiff_t >  frequencies,
std::vector< Duration intervals 
)
inline

Member Function Documentation

◆ NextOutputTime()

Duration fub::OutputAtFrequencyOrInterval< amrex::MultiBlockGriddingAlgorithm >::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 PrintDuration >
void fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration >::operator() ( const amrex::MultiBlockGriddingAlgorithm grid)
inlineoverride

◆ operator()() [2/2]

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

◆ Print()

void fub::OutputAtFrequencyOrInterval< amrex::MultiBlockGriddingAlgorithm >::Print ( Log &  log)
inlineinherited

◆ ShallOutputNow() [1/2]

bool fub::OutputAtFrequencyOrInterval< amrex::MultiBlockGriddingAlgorithm >::ShallOutputNow ( const amrex::MultiBlockGriddingAlgorithm grid)
inlineoverrideinherited

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

◆ ShallOutputNow() [2/2]

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

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

Implemented in fub::OutputAtFrequencyOrInterval< GriddingAlgorithm >, fub::OutputAtFrequencyOrInterval< Grid >, and fub::MultipleOutputs< Grid >.

Member Data Documentation

◆ frequencies_

std::vector<std::ptrdiff_t> fub::OutputAtFrequencyOrInterval< amrex::MultiBlockGriddingAlgorithm >::frequencies_
protectedinherited

◆ intervals_

◆ reference_

template<typename PrintDuration >
std::chrono::steady_clock::time_point fub::CounterOutput< amrex::MultiBlockGriddingAlgorithm, PrintDuration >::reference_
private

◆ smallest_time_step_size_

Duration fub::OutputAtFrequencyOrInterval< amrex::MultiBlockGriddingAlgorithm >::smallest_time_step_size_
protectedinherited

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