FEI Version of the Day
Public Member Functions
snl_fei::LinearSystem_FEData Class Reference

#include <snl_fei_LinearSystem_FEData.hpp>

Inheritance diagram for snl_fei::LinearSystem_FEData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 LinearSystem_FEData (fei::SharedPtr< FiniteElementData > &fedata, fei::SharedPtr< fei::MatrixGraph > &matrixGraph)
virtual ~LinearSystem_FEData ()
int loadLagrangeConstraint (int constraintID, const double *weights, double rhsValue)
int loadPenaltyConstraint (int constraintID, const double *weights, double penaltyValue, double rhsValue)
int loadComplete (bool applyBCs=true, bool globalAssemble=true)
fei::SharedPtr< FiniteElementDatagetFiniteElementData ()
int parameters (int numParams, const char *const *paramStrings)
int parameters (const fei::ParameterSet &params)
int setBCValuesOnVector (fei::Vector *vector)
void setLookup (Lookup *lookup)
bool eqnIsEssentialBC (int globalEqnIndex) const
void getEssentialBCs (std::vector< int > &bcEqns, std::vector< double > &bcVals) const
void getConstrainedEqns (std::vector< int > &crEqns) const

Detailed Description

implementation of fei::LinearSystem specialized for FiniteElementData

Definition at line 27 of file snl_fei_LinearSystem_FEData.hpp.


Constructor & Destructor Documentation

snl_fei::LinearSystem_FEData::LinearSystem_FEData ( fei::SharedPtr< FiniteElementData > &  fedata,
fei::SharedPtr< fei::MatrixGraph > &  matrixGraph 
)

constructor

Definition at line 33 of file snl_fei_LinearSystem_FEData.cpp.

snl_fei::LinearSystem_FEData::~LinearSystem_FEData ( ) [virtual]

destructor

Definition at line 47 of file snl_fei_LinearSystem_FEData.cpp.


Member Function Documentation

int snl_fei::LinearSystem_FEData::loadLagrangeConstraint ( int  constraintID,
const double *  weights,
double  rhsValue 
) [virtual]

implementation of loadLagrangeConstraint

Implements fei::LinearSystem.

Definition at line 163 of file snl_fei_LinearSystem_FEData.cpp.

int snl_fei::LinearSystem_FEData::loadPenaltyConstraint ( int  constraintID,
const double *  weights,
double  penaltyValue,
double  rhsValue 
) [virtual]

implementation of loadPenaltyConstraint

Implements fei::LinearSystem.

Definition at line 172 of file snl_fei_LinearSystem_FEData.cpp.

int snl_fei::LinearSystem_FEData::loadComplete ( bool  applyBCs = true,
bool  globalAssemble = true 
) [virtual]

Signal that all boundary-conditions and constraint coefficients have been loaded, and they may now be applied to the linear system.

Implements fei::LinearSystem.

Definition at line 72 of file snl_fei_LinearSystem_FEData.cpp.

fei::SharedPtr<FiniteElementData> snl_fei::LinearSystem_FEData::getFiniteElementData ( ) [inline]

Retrieve FiniteElementData object

Definition at line 54 of file snl_fei_LinearSystem_FEData.hpp.

int snl_fei::LinearSystem_FEData::parameters ( int  numParams,
const char *const *  paramStrings 
) [inline, virtual]

Set parameters on this object. Currently two parameters are recognized: "debugOutput 'path'" where 'path' is the path to the location where debug-log files will be produced.
"name 'string'" where 'string' is an identifier that will be used in debug-log file-names.

Implements fei::LinearSystem.

Definition at line 62 of file snl_fei_LinearSystem_FEData.hpp.

int snl_fei::LinearSystem_FEData::parameters ( const fei::ParameterSet params) [inline, virtual]

implementation of parameters

Implements fei::LinearSystem.

Definition at line 67 of file snl_fei_LinearSystem_FEData.hpp.

int snl_fei::LinearSystem_FEData::setBCValuesOnVector ( fei::Vector vector) [virtual]

set previously specified BC values on given vector

Implements fei::LinearSystem.

Definition at line 106 of file snl_fei_LinearSystem_FEData.cpp.

void snl_fei::LinearSystem_FEData::setLookup ( Lookup lookup) [inline]

set lookup object

Definition at line 86 of file snl_fei_LinearSystem_FEData.hpp.

bool snl_fei::LinearSystem_FEData::eqnIsEssentialBC ( int  globalEqnIndex) const [virtual]

Query whether specified eqn has prescribed BC value.

Implements fei::LinearSystem.

Definition at line 52 of file snl_fei_LinearSystem_FEData.cpp.

void snl_fei::LinearSystem_FEData::getEssentialBCs ( std::vector< int > &  bcEqns,
std::vector< double > &  bcVals 
) const [virtual]

Retrieve BC eqn indices.

Implements fei::LinearSystem.

Definition at line 59 of file snl_fei_LinearSystem_FEData.cpp.

void snl_fei::LinearSystem_FEData::getConstrainedEqns ( std::vector< int > &  crEqns) const [virtual]

Retrieve constrained eqn indices

Implements fei::LinearSystem.

Definition at line 66 of file snl_fei_LinearSystem_FEData.cpp.


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