00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMElement2DC0LinearLineStress.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:39 $ 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 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 00027 00028 00029 00034 class Element2DC0LinearLineStress : public Element1DStress<Element2DC0LinearLine> 00035 { 00036 FEM_CLASS(Element2DC0LinearLineStress,Element1DStress<Element2DC0LinearLine>) 00037 public: 00038 00039 HANDLE_ELEMENT_LOADS(); 00040 00044 Element2DC0LinearLineStress(); 00045 00050 Element2DC0LinearLineStress( 00051 NodeIDType n1_, 00052 NodeIDType n2_, 00053 Material::ConstPointer p_ ); 00054 00058 // FIMXE: this implementation should be made general and moved to base class 00059 virtual void GetMassMatrix( MatrixType& Me ) const; 00060 00061 }; // class Element2DC0LinearLineStress 00062 00063 FEM_CLASS_INIT(Element2DC0LinearLineStress) 00064 00065 00066 00067 00068 }} // end namespace itk::fem 00069 00070 #endif // #ifndef __itkFEMElement2DC0LinearLineStress_h