#include <Stencil.H>
Public Member Functions | |
StencilTensorValue (int a_dof=-1) | |
void | define (int a_dof) |
void | define (StencilTensorValue &a_sv) |
bool | isDefined () const |
StencilTensorValue & | operator= (const StencilTensorValue &p) |
Real | value (int a_idof, int a_jdof) const |
const Real * | getVals () const |
void | addValue (int a_idof, int a_jdof, Real a_val) |
void | setValue (int a_idof, int a_jdof, Real a_val) |
void | apply (StencilTensorValue &a_scale, StencilTensorValue &a_node) |
void | addValue (Real a_val) |
void | setValue (Real a_val) |
void | scale (Real a_alpha) |
Protected Attributes | |
int | m_dof |
Real | m_val [STENCIL_MAX_DOF *STENCIL_MAX_DOF] |
Friends | |
std::ostream & | operator<< (std::ostream &os, const StencilTensorValue &iv) |
StencilTensorValue::StencilTensorValue | ( | int | a_dof = -1 |
) | [inline] |
References MayDay::Abort(), and STENCIL_MAX_DOF.
void StencilTensorValue::define | ( | int | a_dof | ) | [inline] |
References MayDay::Abort(), and STENCIL_MAX_DOF.
void StencilTensorValue::define | ( | StencilTensorValue & | a_sv | ) | [inline] |
References m_dof.
bool StencilTensorValue::isDefined | ( | ) | const [inline] |
StencilTensorValue& StencilTensorValue::operator= | ( | const StencilTensorValue & | p | ) | [inline] |
References MayDay::Abort(), m_dof, and m_val.
void StencilTensorValue::addValue | ( | int | a_idof, | |
int | a_jdof, | |||
Real | a_val | |||
) | [inline] |
References CHECK_DOF.
void StencilTensorValue::setValue | ( | int | a_idof, | |
int | a_jdof, | |||
Real | a_val | |||
) | [inline] |
References CHECK_DOF.
void StencilTensorValue::apply | ( | StencilTensorValue & | a_scale, | |
StencilTensorValue & | a_node | |||
) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const StencilTensorValue & | iv | |||
) | [friend] |
int StencilTensorValue::m_dof [protected] |
Referenced by define(), and operator=().
Real StencilTensorValue::m_val[STENCIL_MAX_DOF *STENCIL_MAX_DOF] [protected] |
Referenced by operator=().