Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
This class is a possibly empty handle to a existing DebugSnapshotProxy. More...
#include <DebugOutput.hpp>
Public Member Functions | |
DebugSnapshotProxy ()=default | |
Initializes an empty proxy snapshot. More... | |
DebugSnapshotProxy (DebugSnapshot &snapshot) | |
Initializes a proxy snapshot for a real snapshot. More... | |
operator bool () const noexcept | |
Returns true if this object is valid. More... | |
void | SaveData (const ::amrex::MultiFab &mf, const std::string &name, const ::amrex::Geometry &geom, ::amrex::SrcComp component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
void | SaveData (const ::amrex::MultiFab &mf, const DebugSnapshot::ComponentNames &names, const ::amrex::Geometry &geom, ::amrex::SrcComp first_component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
void | SaveData (const ::amrex::Vector< const ::amrex::MultiFab * > &hierarchy, const std::string &name, const ::amrex::Vector< const ::amrex::Geometry * > &geomhier, ::amrex::SrcComp component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
void | SaveData (const ::amrex::Vector<::amrex::MultiFab > &hierarchy, const std::string &name, const ::amrex::Vector<::amrex::Geometry > &geomhier, ::amrex::SrcComp component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
void | SaveData (const ::amrex::Vector< const ::amrex::MultiFab * > &hierarchy, const DebugSnapshot::ComponentNames &names, const ::amrex::Vector< const ::amrex::Geometry * > &geomhier, ::amrex::SrcComp first_component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
void | SaveData (const ::amrex::Vector<::amrex::MultiFab > &hierarchy, const DebugSnapshot::ComponentNames &names, const ::amrex::Vector<::amrex::Geometry > &geomhier, ::amrex::SrcComp first_component=::amrex::SrcComp(0)) |
Saves a current hierarchy state with given component names. More... | |
Private Attributes | |
DebugSnapshot * | snapshot_ |
Pointer to the real snapshot. More... | |
This class is a possibly empty handle to a existing DebugSnapshotProxy.
DebugSnapshotProxy maybe in a valid or invalid
|
default |
Initializes an empty proxy snapshot.
|
inline |
Initializes a proxy snapshot for a real snapshot.
|
inlineexplicitnoexcept |
Returns true if this object is valid.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::MultiFab & | mf, |
const DebugSnapshot::ComponentNames & | names, | ||
const ::amrex::Geometry & | geom, | ||
::amrex::SrcComp | first_component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::MultiFab & | mf, |
const std::string & | name, | ||
const ::amrex::Geometry & | geom, | ||
::amrex::SrcComp | component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::Vector< const ::amrex::MultiFab * > & | hierarchy, |
const DebugSnapshot::ComponentNames & | names, | ||
const ::amrex::Vector< const ::amrex::Geometry * > & | geomhier, | ||
::amrex::SrcComp | first_component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::Vector< const ::amrex::MultiFab * > & | hierarchy, |
const std::string & | name, | ||
const ::amrex::Vector< const ::amrex::Geometry * > & | geomhier, | ||
::amrex::SrcComp | component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::Vector<::amrex::MultiFab > & | hierarchy, |
const DebugSnapshot::ComponentNames & | names, | ||
const ::amrex::Vector<::amrex::Geometry > & | geomhier, | ||
::amrex::SrcComp | first_component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
void fub::amrex::DebugSnapshotProxy::SaveData | ( | const ::amrex::Vector<::amrex::MultiFab > & | hierarchy, |
const std::string & | name, | ||
const ::amrex::Vector<::amrex::Geometry > & | geomhier, | ||
::amrex::SrcComp | component = ::amrex::SrcComp(0) |
||
) |
Saves a current hierarchy state with given component names.
The actual output will be handled by the DebugOutput class and will usually happen at a later time point.
|
private |
Pointer to the real snapshot.