ASPECT
|
Public Member Functions | |
CellDataVectorCreator (const std::string &physical_units="") | |
~CellDataVectorCreator () override=default | |
virtual std::pair< std::string, std::unique_ptr< Vector< float > > > | execute () const =0 |
Public Member Functions inherited from aspect::Postprocess::VisualizationPostprocessors::Interface< dim > | |
Interface (const std::string &physical_units="") | |
virtual std::string | get_physical_units () const |
virtual std::list< std::string > | required_other_postprocessors () const |
virtual void | save (std::map< std::string, std::string > &status_strings) const |
virtual void | load (const std::map< std::string, std::string > &status_strings) |
Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
virtual | ~InterfaceBase ()=default |
virtual void | initialize () |
virtual void | update () |
virtual void | parse_parameters (ParameterHandler &prm) |
Additional Inherited Members | |
Static Public Member Functions inherited from aspect::Plugins::InterfaceBase | |
static void | declare_parameters (ParameterHandler &prm) |
As explained in the documentation of the Interface class, the second kind of visualization plugin is one that wants to generate cell-wise data. Classes derived from this class need to implement a function execute() that computes these cell-wise values and return a pair of values where the first one indicates the name of a variable and the second one is a vector with one entry per cell. This class is the interface that such plugins have to implement.
Definition at line 241 of file visualization.h.
|
explicit |
Constructor. The constructor takes as argument the physical units of the quantity (scalar or vector-valued) computed by derived classes.
|
overridedefault |
Destructor.
|
pure virtual |
The function classes have to implement that want to output cell-wise data.
Implemented in aspect::Postprocess::VisualizationPostprocessors::SeismicVpAnomaly< dim >, aspect::Postprocess::VisualizationPostprocessors::GrainLagAngle< dim >, aspect::Postprocess::VisualizationPostprocessors::ISARotationTimescale< dim >, aspect::Postprocess::VisualizationPostprocessors::BoundaryIndicator< dim >, aspect::Postprocess::VisualizationPostprocessors::ParticleCount< dim >, aspect::Postprocess::VisualizationPostprocessors::SeismicVsAnomaly< dim >, aspect::Postprocess::VisualizationPostprocessors::ArtificialViscosity< dim >, aspect::Postprocess::VisualizationPostprocessors::ArtificialViscosityComposition< dim >, and aspect::Postprocess::VisualizationPostprocessors::ErrorIndicator< dim >.