00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMLoadBC.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:42 $ 00007 Version: $Revision: 1.4 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 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 }} // end namespace itk::fem 00077 00078 #endif // #ifndef __itkFEMLoadBC_h