#include <DirichletBC.h>
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 |
Definition at line 29 of file DirichletBC.h.
basso::DirichletBC::DirichletBC | ( | const set< int > & | nodeids, | |
const Array< Dof > & | dofs, | |||
Numeric | sf = 0.0 | |||
) | [inline] |
Constructor
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
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.
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
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
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.