NSF Postdoctoral Research
A set of C++ code developed by Andrew E. Slaughter
SlaughterFEM::EqVariableLinker< Type > Class Template Reference

A generic class to link system variables between classes. More...

#include <fem/common/eq_variable_linker.h>

Inheritance diagram for SlaughterFEM::EqVariableLinker< Type >:
Collaboration diagram for SlaughterFEM::EqVariableLinker< Type >:

List of all members.

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 ()

Detailed Description

template<typename Type>
class SlaughterFEM::EqVariableLinker< Type >

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.

See also:
EnergyEq
MomentumEq
example4.cpp
Examples:
fem/examples/example5.cpp.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs