ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
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 __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h 00020 #define __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h 00021 00022 #include "itkFEMElement3DC0LinearTriangular.h" 00023 #include "itkFEMElement3DMembrane.h" 00024 #include "itkFEMElement3DMembrane1DOF.h" 00025 00026 namespace itk 00027 { 00028 namespace fem 00029 { 00041 class Element3DC0LinearTriangularLaplaceBeltrami : public Element3DMembrane1DOF<Element3DC0LinearTriangular> 00042 { 00043 public: 00044 00046 typedef Element3DC0LinearTriangularLaplaceBeltrami Self; 00047 typedef Element3DMembrane1DOF<Element3DC0LinearTriangular> Superclass; 00048 typedef SmartPointer<Self> Pointer; 00049 typedef SmartPointer<const Self> ConstPointer; 00050 00052 itkSimpleNewMacro(Self); 00053 00055 itkTypeMacro(Element3DC0LinearTriangularLaplaceBeltrami, Element3DMembrane1DOF<Element3DC0LinearTriangular> ); 00056 00059 virtual::itk::LightObject::Pointer CreateAnother(void) const; 00060 00064 Element3DC0LinearTriangularLaplaceBeltrami(); 00065 00070 Element3DC0LinearTriangularLaplaceBeltrami(NodeIDType n1_, NodeIDType n2_, NodeIDType n3_, Material::ConstPointer p_); 00071 00073 virtual unsigned int GetNumberOfDegreesOfFreedomPerNode(void) const 00074 { 00075 return 1; 00076 } 00077 00079 virtual void GetStiffnessMatrix(MatrixType & Ke) const; 00080 00081 protected: 00082 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00083 00084 }; // class Element3DC0LinearTriangularLaplaceBeltrami 00085 00086 } 00087 } // end namespace itk::fem 00088 00089 #endif // #ifndef __itkFEMElement3DC0LinearTriangularLaplaceBeltrami_h 00090