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

#include <snl_fei_LinearSystem_General.hpp>

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

List of all members.

Public Member Functions

 LinearSystem_General (fei::SharedPtr< fei::MatrixGraph > &matrixGraph)
virtual ~LinearSystem_General ()
int loadEssentialBCs (int numIDs, const int *IDs, int idType, int fieldID, int offsetIntoField, const double *prescribedValues)
int loadEssentialBCs (int numIDs, const int *IDs, int idType, int fieldID, const int *offsetIntoField, const double *prescribedValues)
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)
int parameters (int numParams, const char *const *paramStrings)
int parameters (const fei::ParameterSet &params)
int setBCValuesOnVector (fei::Vector *vector)
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 interface

Definition at line 62 of file snl_fei_LinearSystem_General.hpp.


Constructor & Destructor Documentation

snl_fei::LinearSystem_General::LinearSystem_General ( fei::SharedPtr< fei::MatrixGraph > &  matrixGraph)

constructor

Definition at line 71 of file snl_fei_LinearSystem_General.cpp.

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

denstructor

Definition at line 102 of file snl_fei_LinearSystem_General.cpp.


Member Function Documentation

int snl_fei::LinearSystem_General::loadEssentialBCs ( int  numIDs,
const int *  IDs,
int  idType,
int  fieldID,
int  offsetIntoField,
const double *  prescribedValues 
) [virtual]

Essential (dirichlet) boundary-condition function.

Reimplemented from fei::LinearSystem.

Definition at line 197 of file snl_fei_LinearSystem_General.cpp.

int snl_fei::LinearSystem_General::loadEssentialBCs ( int  numIDs,
const int *  IDs,
int  idType,
int  fieldID,
const int *  offsetIntoField,
const double *  prescribedValues 
) [virtual]

Essential (dirichlet) boundary-condition function.

Reimplemented from fei::LinearSystem.

Definition at line 215 of file snl_fei_LinearSystem_General.cpp.

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

load lagrange-multiplier constraint coefficients

Implements fei::LinearSystem.

Definition at line 884 of file snl_fei_LinearSystem_General.cpp.

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

load penalty constraint coefficients

Implements fei::LinearSystem.

Definition at line 933 of file snl_fei_LinearSystem_General.cpp.

int snl_fei::LinearSystem_General::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 235 of file snl_fei_LinearSystem_General.cpp.

int snl_fei::LinearSystem_General::parameters ( int  numParams,
const char *const *  paramStrings 
) [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 108 of file snl_fei_LinearSystem_General.cpp.

int snl_fei::LinearSystem_General::parameters ( const fei::ParameterSet params) [virtual]

parameters implementation

Implements fei::LinearSystem.

Definition at line 163 of file snl_fei_LinearSystem_General.cpp.

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

use stored BC values to modify specified vector

Implements fei::LinearSystem.

Definition at line 356 of file snl_fei_LinearSystem_General.cpp.

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

query whether specified eqn index has prescribed BC value

Implements fei::LinearSystem.

Definition at line 374 of file snl_fei_LinearSystem_General.cpp.

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

Retrieve eqn-indices and values for BC equations

Implements fei::LinearSystem.

Definition at line 384 of file snl_fei_LinearSystem_General.cpp.

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

Retrieve eqn-indices for constraints

Implements fei::LinearSystem.

Definition at line 403 of file snl_fei_LinearSystem_General.cpp.


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