basso::TractionBC Class Reference

Class for handeling uniform traction boundary conditions. More...

#include <TractionBC.h>

Inheritance diagram for basso::TractionBC:

basso::NeumannBC List of all members.

Public Member Functions

 TractionBC (list< Element > &elem, const Array< Node > &nodes, const Array< Dof > &dofs, const nArray &n, Numeric sf=1.0)
 TractionBC (list< Element > &elem, const Array< Node > &nodes, const Dof &ldof, Numeric sf=1.0)
virtual ~TractionBC ()
virtual void ContributeForce (const DofMap &dofmap, nArray &f)

Protected Member Functions

virtual Numeric Jacobian (list< Element >::const_iterator eItr, const Point &pt)
virtual void GetElementForce (list< Element >::const_iterator eItr, nArray &fe)
virtual void GetElementForceLine2 (list< Element >::const_iterator eItr, nArray &fe)
virtual void GetElementForceTria3 (list< Element >::const_iterator eItr, nArray &fe)
virtual bool SetElementParameters (list< Element >::const_iterator eItr, int qorder)
QuadratureRule::const_iterator QuadratureBegin () const
QuadratureRule::const_iterator QuadratureEnd () const
list< Element >::const_iterator ElementBegin () const
list< Element >::const_iterator ElementEnd () const

Protected Attributes

nArray mDirection
 vector to give load direction /
list< Element > * fElement
 pointer to boundary elements where the load is applied /
const Array< Node > * fNode
 pointer to the nodes referenced by fElement /
nMatrix mCoord
 /
nMatrix mDNxi
nArray mNa
 /
int mNne
 /
int mSdim
int mEdim
QuadratureRule mQuadrature
 /
BasisType mLastElemType
 /

Detailed Description

Class for handeling uniform traction boundary conditions.

Definition at line 31 of file TractionBC.h.


Constructor & Destructor Documentation

basso::TractionBC::TractionBC ( list< Element > &  elem,
const Array< Node > &  nodes,
const Array< Dof > &  dofs,
const nArray &  n,
Numeric  sf = 1.0 
) [inline]

Constructor for a mdof load

Parameters:
elem A list of boundary Elements that the traction is applied on
nodes The Node array which is referenced by elem
dofs A list of local dofs on which the load(s) will be applied
sf A scaling factor for the point loads
n A directional vector for the loads. It must be of the same length as dofmap. If it is not a unit vector the vector magnitude will also scale the load.

Definition at line 46 of file TractionBC.h.

References fElement, fNode, and mDirection.

basso::TractionBC::TractionBC ( list< Element > &  elem,
const Array< Node > &  nodes,
const Dof &  ldof,
Numeric  sf = 1.0 
) [inline]

Constructor for a sdof load

Parameters:
elem A list of boundary Elements that the traction is applied on
nodes The Node array which is referenced by elem
dof the local dof on which the load(s) will be applied
sf A scaling factor for the loads

Definition at line 56 of file TractionBC.h.

References fElement, fNode, and mDirection.


Member Function Documentation

void basso::TractionBC::ContributeForce ( const DofMap dofmap,
nArray &  f 
) [virtual]

Contributes the force to a force vector

Parameters:
f global force vector
dofmap DofMap for the global force vector

Implements basso::NeumannBC.

Definition at line 161 of file TractionBC.h.

References ElementBegin(), ElementEnd(), GetElementForce(), basso::NeumannBC::mDofs, nArray, and basso::DofMap::Scatter().

QuadratureRule::const_iterator basso::TractionBC::QuadratureBegin (  )  const [inline, protected]

returns a constant iterator to the first quadrature point for the element

Definition at line 76 of file TractionBC.h.

References mQuadrature.

Referenced by GetElementForce().

QuadratureRule::const_iterator basso::TractionBC::QuadratureEnd (  )  const [inline, protected]

returns a constant iterator to the past end quadrature point for the element

Definition at line 78 of file TractionBC.h.

References mQuadrature.

Referenced by GetElementForce().

list<Element>::const_iterator basso::TractionBC::ElementBegin (  )  const [inline, protected]

returns a constant iterator to the first element

Definition at line 81 of file TractionBC.h.

References fElement.

Referenced by ContributeForce().

list<Element>::const_iterator basso::TractionBC::ElementEnd (  )  const [inline, protected]

returns a constant iterator to the past end element

Definition at line 83 of file TractionBC.h.

References fElement.

Referenced by ContributeForce().


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