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::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation > Class Template Referenceabstract

#include <MultiBlockPlotfileOutput.hpp>

Public Member Functions

 MultiBlockPlotfileOutput2 (const std::map< std::string, pybind11::object > &vm, const TubeEquation &tube_equation, const PlenumEquation &plenum_equation)
 
void operator() (const MultiBlockGriddingAlgorithm2 &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 MultiBlockGriddingAlgorithm2 &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

TubeEquation tube_equation_
 
PlenumEquation plenum_equation_
 
std::string parent_path_
 

Constructor & Destructor Documentation

◆ MultiBlockPlotfileOutput2()

template<typename TubeEquation , typename PlenumEquation >
fub::amrex::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation >::MultiBlockPlotfileOutput2 ( const std::map< std::string, pybind11::object > &  vm,
const TubeEquation &  tube_equation,
const PlenumEquation &  plenum_equation 
)

Member Function Documentation

◆ NextOutputTime()

Duration fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm2 >::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 GriddingAlgorithm >
virtual void fub::BasicOutput< GriddingAlgorithm >::operator() ( const GriddingAlgorithm &  grid)
pure virtualinherited

◆ operator()() [2/2]

template<typename TubeEquation , typename PlenumEquation >
void fub::amrex::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation >::operator() ( const MultiBlockGriddingAlgorithm2 grid)
override

◆ Print()

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

◆ ShallOutputNow() [1/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 >.

◆ ShallOutputNow() [2/2]

bool fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm2 >::ShallOutputNow ( const MultiBlockGriddingAlgorithm2 &  grid)
inlineoverrideinherited

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

Member Data Documentation

◆ frequencies_

std::vector<std::ptrdiff_t> fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm2 >::frequencies_
protectedinherited

◆ intervals_

std::vector<fub::Duration> fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm2 >::intervals_
protectedinherited

◆ parent_path_

template<typename TubeEquation , typename PlenumEquation >
std::string fub::amrex::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation >::parent_path_
private

◆ plenum_equation_

template<typename TubeEquation , typename PlenumEquation >
PlenumEquation fub::amrex::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation >::plenum_equation_
private

◆ smallest_time_step_size_

Duration fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm2 >::smallest_time_step_size_
protectedinherited

◆ tube_equation_

template<typename TubeEquation , typename PlenumEquation >
TubeEquation fub::amrex::MultiBlockPlotfileOutput2< TubeEquation, PlenumEquation >::tube_equation_
private

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