00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __itkFEMLoadBC_h
00018 #define __itkFEMLoadBC_h
00019
00020 #include "itkFEMLoadBase.h"
00021
00022 namespace itk {
00023 namespace fem {
00024
00025
00026
00027
00034 class LoadBC : public Load
00035 {
00036 FEM_CLASS(LoadBC,Load)
00037 public:
00038
00043 Element::ConstPointer m_element;
00044
00048 unsigned int m_dof;
00049
00058 vnl_vector<Element::Float> m_value;
00059
00061 LoadBC() : m_element(0), m_dof(0), m_value() {}
00062
00064 virtual void Read( std::istream& f, void* info );
00065
00067 virtual void Write( std::ostream& f ) const;
00068
00069 };
00070
00071 FEM_CLASS_INIT(LoadBC)
00072
00073
00074
00075
00076 }}
00077
00078 #endif // #ifndef __itkFEMLoadBC_h