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::MultiBlockPlotfileOutput Class Referenceabstract

#include <MultiBlockPlotfileOutput.hpp>

Public Member Functions

 MultiBlockPlotfileOutput (const std::map< std::string, pybind11::object > &vm)
 
void operator() (const 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 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::string parent_path_
 

Constructor & Destructor Documentation

◆ MultiBlockPlotfileOutput()

fub::amrex::MultiBlockPlotfileOutput::MultiBlockPlotfileOutput ( const std::map< std::string, pybind11::object > &  vm)

Member Function Documentation

◆ NextOutputTime()

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

◆ operator()() [2/2]

void fub::amrex::MultiBlockPlotfileOutput::operator() ( const MultiBlockGriddingAlgorithm grid)
override

◆ Print()

void fub::OutputAtFrequencyOrInterval< MultiBlockGriddingAlgorithm >::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< MultiBlockGriddingAlgorithm >::ShallOutputNow ( const GriddingAlgorithm &  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< MultiBlockGriddingAlgorithm >::frequencies_
protectedinherited

◆ intervals_

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

◆ parent_path_

std::string fub::amrex::MultiBlockPlotfileOutput::parent_path_
private

◆ smallest_time_step_size_

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

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