StencilTensorValue Class Reference

#include <Stencil.H>

List of all members.


Detailed Description

a 2x2 array class

Public Member Functions

 StencilTensorValue (int a_dof=-1)
void define (int a_dof)
void define (StencilTensorValue &a_sv)
bool isDefined () const
StencilTensorValueoperator= (const StencilTensorValue &p)
Real value (int a_idof, int a_jdof) const
const RealgetVals () 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)

Constructor & Destructor Documentation

StencilTensorValue::StencilTensorValue ( int  a_dof = -1  )  [inline]

References MayDay::Abort(), and STENCIL_MAX_DOF.


Member Function Documentation

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.

Real StencilTensorValue::value ( int  a_idof,
int  a_jdof 
) const [inline]

References CHECK_DOF.

const Real* StencilTensorValue::getVals (  )  const [inline]

References CHECK_DOF.

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 
)

void StencilTensorValue::addValue ( Real  a_val  )  [inline]

References CHECK_DOF.

void StencilTensorValue::setValue ( Real  a_val  )  [inline]

References CHECK_DOF.

void StencilTensorValue::scale ( Real  a_alpha  )  [inline]

References CHECK_DOF.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const StencilTensorValue iv 
) [friend]


Member Data Documentation

int StencilTensorValue::m_dof [protected]

Referenced by define(), and operator=().

Real StencilTensorValue::m_val[STENCIL_MAX_DOF *STENCIL_MAX_DOF] [protected]

Referenced by operator=().


The documentation for this class was generated from the following file:

Generated on Wed Mar 29 03:27:19 2017 for Chombo + EB + MF by  doxygen 1.5.5