Class that holds a templated generic body load implementation. More...
#include <itkFEMLoadImplementationGenericBodyLoad.h>
| |
template<class TElementClassConstPointer > | |
static void | HandleLoad (TElementClassConstPointer e, Element::LoadPointer l, 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.
static void itk::fem::LoadImplementationGenericBodyLoad::HandleLoad | ( | TElementClassConstPointer | e, | |
Element::LoadPointer | l, | |||
Element::VectorType & | Fe | |||
) | [inline, static] |
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 57 of file itkFEMLoadImplementationGenericBodyLoad.h.