00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMElement2DC0LinearLineStress.h,v $ 00005 Language: C++ 00006 Date: $Date: 2009-01-28 21:19:16 $ 00007 Version: $Revision: 1.5 $ 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 00018 #ifndef __itkFEMElement2DC0LinearLineStress_h 00019 #define __itkFEMElement2DC0LinearLineStress_h 00020 00021 #include "itkFEMElement2DC0LinearLine.h" 00022 #include "itkFEMElement1DStress.h" 00023 00024 namespace itk { 00025 namespace fem { 00026 00031 class Element2DC0LinearLineStress : public Element1DStress<Element2DC0LinearLine> 00032 { 00033 FEM_CLASS(Element2DC0LinearLineStress,Element1DStress<Element2DC0LinearLine>) 00034 public: 00035 00036 HANDLE_ELEMENT_LOADS(); 00037 00041 Element2DC0LinearLineStress(); 00042 00047 Element2DC0LinearLineStress( 00048 NodeIDType n1_, 00049 NodeIDType n2_, 00050 Material::ConstPointer p_ ); 00051 00055 // FIMXE: this implementation should be made general and moved to base class 00056 virtual void GetMassMatrix( MatrixType& Me ) const; 00057 00058 }; // class Element2DC0LinearLineStress 00059 00060 FEM_CLASS_INIT(Element2DC0LinearLineStress) 00061 00062 }} // end namespace itk::fem 00063 00064 #endif // #ifndef __itkFEMElement2DC0LinearLineStress_h 00065