NSF Postdoctoral Research
A set of C++ code developed by Andrew E. Slaughter
|
A generic class to link system variables between classes. More...
#include <fem/common/eq_variable_linker.h>
Public Member Functions | |
EqVariableLinker (EquationSystems &sys) | |
void | set_system (string name) |
void | set_system (Type &system) |
void | set_variables (vector< unsigned short int > idx) |
void | set_variables (vector< string > str) |
vector< Number > | get_variables (const Point &p) |
vector< unsigned short int > | index () |
A generic class to link system variables between classes.
Designed to be a generic class for linking specific variables from a system to another. For example the EnergyEq class depends on velocity that is computed in the MomentumEq class. This class creates a link to the velocity variables in the MomementumEq and is used by the EnergyEq class.