00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkFEMMaterialLinearElasticity.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:43 $ 00007 Version: $Revision: 1.7 $ 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 __itkFEMMaterialLinearElasticity_h 00019 #define __itkFEMMaterialLinearElasticity_h 00020 00021 #include "itkFEMMaterialBase.h" 00022 00023 namespace itk { 00024 namespace fem { 00025 00026 00027 00028 00037 class MaterialLinearElasticity : public Material { 00038 FEM_CLASS(MaterialLinearElasticity,Material) 00039 public: 00040 virtual void Read(std::istream& f, void* info); 00041 virtual void Write(std::ostream& f ) const; 00042 00046 MaterialLinearElasticity(); 00047 00048 /* Data members of MaterialLinearElasticity class */ 00049 00053 double E; 00054 00058 double A; // 00059 00063 double I; 00064 00068 double nu; 00069 00073 double h; 00074 00075 /* 00076 * ... we can add properties here as required without the influence on the already defined elements 00077 */ 00078 00082 double RhoC; 00083 00084 }; 00085 00086 FEM_CLASS_INIT(MaterialLinearElasticity) 00087 00088 00089 00090 00091 }} // end namespace itk::fem 00092 00093 #endif // #ifndef __itkFEMMaterialLinearElasticity_h