/*========================================================================= Program: Insight Segmentation & Registration Toolkit Copyright (c) Insight Software Consortium. All rights reserved. See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h #define __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h #include "itkFEMElement3DC0LinearTriangular.h" #include "itkFEMElement3DMembrane.h" #include "itkFEMElement3DMembrane1DOF.h" namespace itk { namespace fem { /** * \class Element3DC0LinearTriangularLaplaceBeltrami * \brief 3-noded finite element class in 3D space for surface LaplaceBeltrami problem. * * This element is combined from Element3DC0LinearTriangular and Element3DLaplaceBeltrami. */ class Element3DC0LinearTriangularLaplaceBeltrami : public Element3DMembrane1DOF { FEM_CLASS(Element3DC0LinearTriangularLaplaceBeltrami, Element3DMembrane1DOF) public: HANDLE_ELEMENT_LOADS(); /** * Default constructor only clears the internal storage */ Element3DC0LinearTriangularLaplaceBeltrami(); /** * Construct an element by specifying pointers to * 3 points and a material. */ Element3DC0LinearTriangularLaplaceBeltrami(NodeIDType n1_, NodeIDType n2_, NodeIDType n3_, Material::ConstPointer p_); virtual unsigned int GetNumberOfDegreesOfFreedomPerNode(void) const { return 1; } virtual void GetStiffnessMatrix(MatrixType & Ke) const; // void Read( std::istream&, void* info ); }; // class Element3DC0LinearTriangularLaplaceBeltrami FEM_CLASS_INIT(Element3DC0LinearTriangularLaplaceBeltrami) } // namespace fem } // namespace itk #endif // #ifndef __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h