ITK  4.0.0
Insight Segmentation and Registration Toolkit
itkFEMElement2DC0LinearTriangularStress.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 
00019 #ifndef __itkFEMElement2DC0LinearTriangularStress_h
00020 #define __itkFEMElement2DC0LinearTriangularStress_h
00021 
00022 #include "itkFEMElement2DC0LinearTriangular.h"
00023 #include "itkFEMElement2DStress.h"
00024 
00025 namespace itk
00026 {
00027 namespace fem
00028 {
00043 class Element2DC0LinearTriangularStress : public Element2DStress<Element2DC0LinearTriangular>
00044 {
00045 public:
00046 
00048   typedef Element2DC0LinearTriangularStress            Self;
00049   typedef Element2DStress<Element2DC0LinearTriangular> Superclass;
00050   typedef SmartPointer<Self>                           Pointer;
00051   typedef SmartPointer<const Self>                     ConstPointer;
00052 
00054   itkSimpleNewMacro(Self);
00055 
00057   itkTypeMacro(Element2DC0LinearTriangularStress, Element2DStress<Element2DC0LinearTriangular> );
00058 
00061   virtual::itk::LightObject::Pointer CreateAnother(void) const;
00062 
00066   Element2DC0LinearTriangularStress();
00067 
00072   Element2DC0LinearTriangularStress(NodeIDType n1_,
00073                                     NodeIDType n2_,
00074                                     NodeIDType n3_,
00075                                     Material::ConstPointer p_);
00076 protected:
00077   virtual void PrintSelf(std::ostream& os, Indent indent) const;
00079 
00080 };  // class Element2DC0LinearTriangularStress
00081 
00082 }
00083 }  // end namespace itk::fem
00084 
00085 #endif  // #ifndef __itkFEMElement2DC0LinearTriangularStress_h
00086