FEApp::ConstantNodeBCStrategy< ScalarT > Class Template Reference

#include <FEApp_ConstantNodeBCStrategy.hpp>

Inheritance diagram for FEApp::ConstantNodeBCStrategy< ScalarT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ConstantNodeBCStrategy (unsigned int solution_index, unsigned int residual_index, const ScalarT &value, unsigned int bc_id, const Teuchos::RCP< Sacado::ScalarParameterLibrary > &paramLib)
 Constructor.
virtual ~ConstantNodeBCStrategy ()
 Destructor.
const std::vector< unsigned
int > & 
getOffsets () const
 Get residual offsets.
virtual void evaluateResidual (const std::vector< ScalarT > *dot, const std::vector< ScalarT > &solution, std::vector< ScalarT > &residual) const
 Evaluate BC residual.
void setValue (const ScalarT &value, bool mark_constant)
 Set value of BC.
const ScalarT & getValue () const
 Get value of BC.

Protected Attributes

unsigned int sol_index
 Index of solution variable.
unsigned int res_index
 Index of residual.
ScalarT val
 Value of BC.
std::vector< unsigned int > offsets
 Residual offsets.

Private Member Functions

 ConstantNodeBCStrategy (const ConstantNodeBCStrategy &)
 Private to prohibit copying.
ConstantNodeBCStrategyoperator= (const ConstantNodeBCStrategy &)
 Private to prohibit copying.

Detailed Description

template<typename ScalarT>
class FEApp::ConstantNodeBCStrategy< ScalarT >

Definition at line 41 of file FEApp_ConstantNodeBCStrategy.hpp.


Constructor & Destructor Documentation

template<typename ScalarT>
FEApp::ConstantNodeBCStrategy< ScalarT >::ConstantNodeBCStrategy ( unsigned int  solution_index,
unsigned int  residual_index,
const ScalarT &  value,
unsigned int  bc_id,
const Teuchos::RCP< Sacado::ScalarParameterLibrary > &  paramLib 
)

Constructor.

Definition at line 36 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
FEApp::ConstantNodeBCStrategy< ScalarT >::~ConstantNodeBCStrategy (  )  [virtual]

Destructor.

Definition at line 64 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
FEApp::ConstantNodeBCStrategy< ScalarT >::ConstantNodeBCStrategy ( const ConstantNodeBCStrategy< ScalarT > &   )  [private]

Private to prohibit copying.


Member Function Documentation

template<typename ScalarT>
const std::vector< unsigned int > & FEApp::ConstantNodeBCStrategy< ScalarT >::getOffsets (  )  const [virtual]

Get residual offsets.

Implements FEApp::AbstractNodeBCStrategy_NTBase.

Definition at line 71 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
void FEApp::ConstantNodeBCStrategy< ScalarT >::evaluateResidual ( const std::vector< ScalarT > *  dot,
const std::vector< ScalarT > &  solution,
std::vector< ScalarT > &  residual 
) const [virtual]

Evaluate BC residual.

Implements FEApp::AbstractNodeBCStrategy< ScalarT >.

Definition at line 79 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
void FEApp::ConstantNodeBCStrategy< ScalarT >::setValue ( const ScalarT &  value,
bool  mark_constant 
)

Set value of BC.

Definition at line 89 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
const ScalarT & FEApp::ConstantNodeBCStrategy< ScalarT >::getValue (  )  const

Get value of BC.

Definition at line 99 of file FEApp_ConstantNodeBCStrategyImpl.hpp.

template<typename ScalarT>
ConstantNodeBCStrategy& FEApp::ConstantNodeBCStrategy< ScalarT >::operator= ( const ConstantNodeBCStrategy< ScalarT > &   )  [private]

Private to prohibit copying.


Member Data Documentation

template<typename ScalarT>
unsigned int FEApp::ConstantNodeBCStrategy< ScalarT >::sol_index [protected]

Index of solution variable.

Definition at line 81 of file FEApp_ConstantNodeBCStrategy.hpp.

template<typename ScalarT>
unsigned int FEApp::ConstantNodeBCStrategy< ScalarT >::res_index [protected]

Index of residual.

Definition at line 84 of file FEApp_ConstantNodeBCStrategy.hpp.

template<typename ScalarT>
ScalarT FEApp::ConstantNodeBCStrategy< ScalarT >::val [protected]

Value of BC.

Definition at line 87 of file FEApp_ConstantNodeBCStrategy.hpp.

template<typename ScalarT>
std::vector<unsigned int> FEApp::ConstantNodeBCStrategy< ScalarT >::offsets [protected]

Residual offsets.

Definition at line 90 of file FEApp_ConstantNodeBCStrategy.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:55:12 2009 for Sacado Package Browser (Single Doxygen Collection) by doxygen 1.4.7