basso::PointLoadBC Class Reference

class for defining point load type boundary condiditons More...

#include <PointLoadBC.h>

Inheritance diagram for basso::PointLoadBC:

basso::NeumannBC List of all members.

Public Member Functions

 PointLoadBC (const set< int > &nids, const Array< Dof > &dofs, const nArray &n, Numeric sf=1.0)
 PointLoadBC (const set< int > &nids, Dof &ldof, Numeric sf)
virtual ~PointLoadBC ()
virtual void ContributeForce (const DofMap &dofmap, nArray &f)

Protected Attributes

const set< int > * fNodeIds
 Pointer to a set of node id integers.
nArray mDirection
 An direction vector to scale and orient the point loads.

Detailed Description

class for defining point load type boundary condiditons

A class which represents a set of equal nodal point loads. In otherwords the loads are of the same magnitude and direction at each node.

Definition at line 33 of file PointLoadBC.h.


Constructor & Destructor Documentation

basso::PointLoadBC::PointLoadBC ( const set< int > &  nids,
const Array< Dof > &  dofs,
const nArray &  n,
Numeric  sf = 1.0 
) [inline]

Constructor

Parameters:
nids A set of node id integers
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 point loads. It must be of the same length as dofmap. If it is not a unit vector the vector magnitude will scale the load.

Definition at line 47 of file PointLoadBC.h.

References fNodeIds, and mDirection.

basso::PointLoadBC::PointLoadBC ( const set< int > &  nids,
Dof &  ldof,
Numeric  sf 
) [inline]

Constructor

Parameters:
nids A set of node id integers
dofs local dof on which the load(s) will be applied
sf A scaling factor for the point loads

Definition at line 62 of file PointLoadBC.h.

References fNodeIds, and mDirection.


Member Function Documentation

void basso::PointLoadBC::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 87 of file PointLoadBC.h.

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


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