Public Member Functions | |
RadiationFieldMonitor (const std::shared_ptr< ablate::eos::EOS > eosIn, std::shared_ptr< eos::radiationProperties::RadiationModel > radiationModelIn, std::shared_ptr< io::interval::Interval > intervalIn) | |
void | Register (std::shared_ptr< ablate::solver::Solver > solverIn) override |
PetscErrorCode | Save (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override |
PetscMonitorFunction | GetPetscFunction () override |
![]() | |
const std::string & | GetId () const override |
void | Register (std::shared_ptr< solver::Solver > solverIn) override |
void | Register (std::string id, std::shared_ptr< solver::Solver > solverIn, std::vector< std::shared_ptr< domain::FieldDescriptor >> fields) |
PetscErrorCode | Restore (PetscViewer viewer, PetscInt sequenceNumber, PetscReal time) override |
![]() | |
virtual void * | GetContext () |
![]() | |
virtual SerializerType | Serialize () const |
Static Public Member Functions | |
static PetscErrorCode | MonitorRadiation (TS ts, PetscInt step, PetscReal crtime, Vec u, void *ctx) |
Additional Inherited Members | |
![]() | |
enum class | SerializerType { none , collective , serial } |
![]() | |
std::shared_ptr< solver::Solver > | GetSolver () |
![]() | |
static PetscErrorCode | SaveKeyValue (PetscViewer viewer, const char *name, PetscScalar value) |
static PetscErrorCode | RestoreKeyValue (PetscViewer viewer, const char *name, PetscScalar &value) |
template<class T > | |
static PetscErrorCode | SaveKeyValue (PetscViewer viewer, const char *name, T value) |
template<class T > | |
static PetscErrorCode | RestoreKeyValue (PetscViewer viewer, const char *name, T &value) |
template<class T > | |
static SerializerType | DetermineSerializerType (const T &types) |
![]() | |
std::shared_ptr< ablate::domain::SubDomain > | monitorSubDomain = nullptr |
|
inlineoverridevirtual |
Return a function to be called after every time step. By default null is returned so this is never called
Reimplemented from ablate::monitors::Monitor.
|
static |
We require the aux DM to extract temperature information.
Get the local to global cell mapping. This ensures that the cell index mapping between the monitor DM and the global solution is correct
< Absorptivity coefficient, property of each cell
< The temperature at any given location
Compute measures
Gets the cell index associated with this position in the monitor DM cell range?
|
overridevirtual |
Save the state to the PetscViewer
viewer | |
sequenceNumber | |
time |
Reimplemented from ablate::monitors::FieldMonitor.