basso::DirichletBC Class Reference

Virtual base class for various Dirichlet type boundary condiditons. More...

#include <DirichletBC.h>

List of all members.

Public Member Functions

 DirichletBC (const set< int > &nodeids, const Array< Dof > &dofs, Numeric sf=0.0)
 DirichletBC (const set< int > &nodeids, const Dof &ldof, Numeric sf=0.0)
virtual ~DirichletBC ()
virtual void AddFixedDofs (const DofMap &dofmap, list< int > &fdofs, list< Numeric > &fvals) const
virtual void AddFixedDofs (const DofMap &dofmap, list< int > &fdofs) const

Protected Member Functions

virtual Numeric DofValue () const

Protected Attributes

const set< int > * fNodeIds
Numeric mScaleFactor
Array< Dof > mDofs


Detailed Description

Virtual base class for various Dirichlet type boundary condiditons.

Definition at line 29 of file DirichletBC.h.


Constructor & Destructor Documentation

basso::DirichletBC::DirichletBC ( const set< int > &  nodeids,
const Array< Dof > &  dofs,
Numeric  sf = 0.0 
) [inline]

Constructor

Parameters:
nodeids set of node integers where the boundary condition is to be applied
dofs A list of local dofs on which the boundary condition will be applied
sf A constant value for the bc, default is 0.0

Definition at line 41 of file DirichletBC.h.

References fNodeIds, mDofs, and mScaleFactor.

basso::DirichletBC::DirichletBC ( const set< int > &  nodeids,
const Dof &  ldof,
Numeric  sf = 0.0 
) [inline]

Constructor

Parameters:
nodeids set of node integers where the boundary condition is to be applied
dofs local dofs on which the boundary condition will be applied
sf A constant value for the bc, default is 0.0

Definition at line 53 of file DirichletBC.h.

References fNodeIds, mDofs, and mScaleFactor.


Member Function Documentation

void basso::DirichletBC::AddFixedDofs ( const DofMap dofmap,
list< int > &  fdofs,
list< Numeric > &  fvals 
) const [virtual]

Adds the fixed global dofs to the list of integers

Parameters:
dofmap A DofMap describing the mapping of local to global dofs
fdofs list of global dof ids
fvals list of fixed values for the fixed dofs

Definition at line 91 of file DirichletBC.h.

References DofValue(), fNodeIds, basso::DofMap::GlobalDof(), and mDofs.

void basso::DirichletBC::AddFixedDofs ( const DofMap dofmap,
list< int > &  fdofs 
) const [virtual]

Adds the fixed global dofs to the list of integers

Parameters:
dofmap A DofMap describing the mapping of local to global dofs
fdofs list of global dof ids

Definition at line 103 of file DirichletBC.h.

References fNodeIds, basso::DofMap::GlobalDof(), and mDofs.


The documentation for this class was generated from the following file:
Generated on Sat Jan 19 09:03:58 2008 for Basso by  doxygen 1.5.2