ITK  4.6.0
Insight Segmentation and Registration Toolkit
itkFEMElement3DC0LinearHexahedron.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 
19 #ifndef __itkFEMElement3DC0LinearHexahedron_h
20 #define __itkFEMElement3DC0LinearHexahedron_h
21 
22 #include "itkFEMElementStd.h"
23 
24 namespace itk
25 {
26 namespace fem
27 {
64 {
65 public:
66 
73 
76 
77  // ////////////////////////////////////////////////////////////////////////
82  virtual void GetIntegrationPointAndWeight(unsigned int i, VectorType & pt, Float & w, unsigned int order) const ITK_OVERRIDE;
83 
84  virtual unsigned int GetNumberOfIntegrationPoints(unsigned int order) const ITK_OVERRIDE;
85 
86  // ////////////////////////////////////////////////////////////////////////
92  virtual VectorType ShapeFunctions(const VectorType & pt) const ITK_OVERRIDE;
93 
95  virtual void ShapeFunctionDerivatives(const VectorType & pt, MatrixType & shapeD) const ITK_OVERRIDE;
96 
98  virtual bool GetLocalFromGlobalCoordinates(const VectorType & globalPt, VectorType & localPt) const ITK_OVERRIDE;
99 
103  void InterpolationFunctions( const VectorType & pcoords, VectorType & sf) const;
104 
105  void InterpolationDerivs(const VectorType & pcoords, VectorType & derivs) const;
106 
107  Float Determinant3x3(const VectorType & c1, const VectorType & c2, const VectorType & c3) const;
108 
109 protected:
110  virtual void PrintSelf(std::ostream& os, Indent indent) const ITK_OVERRIDE;
111 
112  virtual void PopulateEdgeIds(void) ITK_OVERRIDE;
113 
114 };
115 }
116 } // end namespace itk::fem
117 
118 #endif // #ifndef __itkFEMElement3DC0LinearHexahedron_h
virtual void ShapeFunctionDerivatives(const VectorType &pt, MatrixType &shapeD) const ITK_OVERRIDE
void InterpolationDerivs(const VectorType &pcoords, VectorType &derivs) const
virtual bool GetLocalFromGlobalCoordinates(const VectorType &globalPt, VectorType &localPt) const ITK_OVERRIDE
Implements standard node management in the element classes.
vnl_matrix< Float > MatrixType
Float Determinant3x3(const VectorType &c1, const VectorType &c2, const VectorType &c3) const
void InterpolationFunctions(const VectorType &pcoords, VectorType &sf) const
8-noded, linear, C0 continuous finite element in 3D space.
virtual VectorType ShapeFunctions(const VectorType &pt) const ITK_OVERRIDE
vnl_vector< Float > VectorType
virtual void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
virtual unsigned int GetNumberOfIntegrationPoints(unsigned int order) const ITK_OVERRIDE
Control indentation during Print() invocation.
Definition: itkIndent.h:49
virtual void GetIntegrationPointAndWeight(unsigned int i, VectorType &pt, Float &w, unsigned int order) const ITK_OVERRIDE
virtual void PopulateEdgeIds(void) ITK_OVERRIDE