[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::Postprocess::PhysicsPostprocessor< dim, nstate > Class Template Reference

Postprocessor to output solution and other values computed by associated physics. More...

#include <physics_post_processor.h>

Inheritance diagram for PHiLiP::Postprocess::PhysicsPostprocessor< dim, nstate >:
Collaboration diagram for PHiLiP::Postprocess::PhysicsPostprocessor< dim, nstate >:

Public Member Functions

 PhysicsPostprocessor (const Parameters::AllParameters *const parameters_input)
 Constructor.
 
virtual void evaluate_vector_field (const dealii::DataPostprocessorInputs::Vector< dim > &inputs, std::vector< dealii::Vector< double >> &computed_quantities) const override
 Queries the Physics to output data of a vector-valued problem.
 
virtual void evaluate_scalar_field (const dealii::DataPostprocessorInputs::Scalar< dim > &inputs, std::vector< dealii::Vector< double >> &computed_quantities) const override
 Queries the Physics to output data of a scalar-valued problem.
 
virtual std::vector< std::string > get_names () const override
 Queries the Physics for the names of output data variables.
 
virtual std::vector< dealii::DataComponentInterpretation::DataComponentInterpretation > get_data_component_interpretation () const override
 Queries the Physics for the type (scalar/vector) of output data variables.
 
virtual dealii::UpdateFlags get_needed_update_flags () const override
 Queries the Physics for the required update flags to evaluate output data.
 

Public Attributes

std::shared_ptr< Physics::ModelBase< dim, nstate, double > > model
 Model passed to create_Physics.
 
std::shared_ptr< Physics::PhysicsBase< dim, nstate, double > > physics
 Physics that the post-processor will use to evaluate derived data types.
 

Detailed Description

template<int dim, int nstate>
class PHiLiP::Postprocess::PhysicsPostprocessor< dim, nstate >

Postprocessor to output solution and other values computed by associated physics.

The functions in this class will call the Physics functions to query data.

Definition at line 25 of file physics_post_processor.h.


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