![]() |
ASPECT
|
Static Public Member Functions | |
static void | register_prescribed_solution_plugin (const std::string &name, const std::string &description, void(*declare_parameters_function)(ParameterHandler &), std::unique_ptr< Interface< dim >>(*factory_function)()) |
static void | write_plugin_graph (std::ostream &output_stream) |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
static void | declare_parameters (ParameterHandler &prm) |
![]() | |
static void | get_composition_values_at_q_point (const std::vector< std::vector< double >> &composition_values, const unsigned int q, std::vector< double > &composition_values_at_q_point) |
Additional Inherited Members | |
![]() | |
std::list< std::unique_ptr< Interface< dim > > > | plugin_objects |
std::vector< std::string > | plugin_names |
A class that manages all prescribed solution objects.
Definition at line 75 of file interface.h.
aspect::PrescribedSolution::Manager< dim >::DeclException1 | ( | ExcPrescribedSolutionNameNotFound | , |
std::string | |||
) |
Exception.
void aspect::PrescribedSolution::Manager< dim >::constrain_solution | ( | AffineConstraints< double > & | current_constraints | ) | const |
A function that calls the constrain_solution functions of all the individual plugin objects and integrates their return values into the current_constraints
object.
|
static |
A function that is used to register prescribed solution objects in such a way that the Manager can deal with all of them without having to know them by name. This allows the files in which individual plugins are implemented to register these plugins, rather than also having to modify the Manager class by adding the new prescribed solution plugin class.
name | A string that identifies the prescribed solution model |
description | A text description of what this model does and that will be listed in the documentation of the parameter file. |
declare_parameters_function | A pointer to a function that can be used to declare the parameters that this prescribed solution model wants to read from input files. |
factory_function | A pointer to a function that can create an object of this prescribed solution model. |
|
static |
For the current plugin subsystem, write a connection graph of all of the plugins we know about, in the format that the programs dot and neato understand. This allows for a visualization of how all of the plugins that ASPECT knows about are interconnected, and connect to other parts of the ASPECT code.
output_stream | The stream to write the output to. |
|
static |
Declare the parameters of all known prescribed solution plugins, as well as the ones this class has itself.
|
overridevirtual |
Read the parameters this class declares from the parameter file. This determines which prescribed solution objects will be created; then let these objects read their parameters as well.
Reimplemented from aspect::Plugins::InterfaceBase.