![]() |
Orfeo Toolbox
3.16
|
Class that holds a templated generic body load implementation. More...
#include <itkFEMLoadImplementationGenericBodyLoad.h>
Static Public Member Functions | |
| template<class TElementClassConstPointer > | |
| static void | HandleLoad (TElementClassConstPointer e, Element::LoadPointer l, Element::VectorType &Fe) |
Private Member Functions | |
| LoadImplementationGenericBodyLoad () | |
Static Private Member Functions | |
| static void | Implementation (Element::ConstPointer element, LoadGrav::Pointer load, Element::VectorType &Fe) |
Class that holds a templated generic body load implementation.
The only accessable part of this class is a static function HandleLoad. This is the function that should be passed to the VisitorDispatcher when registering a load with the element class. The function is templated over the a pointer to an element class, and can therefore be registered with any element class.
Function HandleLoad is declared within a class only to avoid problems with MS compiler. The real gravity load implementation is in static member function Implementation, which is automatically called within HandleLoad function.
Definition at line 45 of file itkFEMLoadImplementationGenericBodyLoad.h.
|
private |
Private constructor prohibits creation of objects of this class
|
inlinestatic |
Template parameter should be a const pointer type pointing to a class that is derived from the Element base class. The template parameter is normally automatically determined.
FIXME: Add concept checking.
Definition at line 56 of file itkFEMLoadImplementationGenericBodyLoad.h.
References Implementation().
Referenced by itk::fem::LoadImplementationsRegister().
|
staticprivate |
Handle LoadGrav in element by integrating over the element domain. This implementation requires that the element has the shape functions and integration routines defined.
It is also assumed, that element's local DOFs are numbered with respect to node ID. If this is not the case, you should not use this function.
Definition at line 38 of file itkFEMLoadImplementationGenericBodyLoad.cxx.
References itk::fem::Element::GetGlobalFromLocalCoordinates(), itk::fem::Element::GetIntegrationPointAndWeight(), itk::fem::Element::GetNumberOfDegreesOfFreedom(), itk::fem::Element::GetNumberOfDegreesOfFreedomPerNode(), itk::fem::Element::GetNumberOfIntegrationPoints(), itk::fem::Element::GetNumberOfNodes(), itk::fem::Element::JacobianDeterminant(), and itk::fem::Element::ShapeFunctions().
Referenced by HandleLoad().