Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::fem::LoadImplementationTest< TLoadClass > Class Template Reference

Example implementation of templated LoadTest class. More...

#include <itkFEMLoadImplementationTest.h>

List of all members.

Static Public Member Functions

static void impl (Element2DC0LinearLineStress::ConstPointer element, Element::LoadPointer load, Element::VectorType &Fe)


Detailed Description

template<class TLoadClass>
class itk::fem::LoadImplementationTest< TLoadClass >

Example implementation of templated LoadTest class.

This is an example of how to define the implementation of a templated Load class. Since the Load class is templated, its implementation must also be templated. Due to limitations of MS compiler, we define this implementation function as a static function inside a templated class.

To make things easier to use, we template the class over the whole templated load class and not only over the template parameters required to define the templated Load class.

You must manually instantiate this class to register the load implementation function with the VisitorDispatcher. The instantiation is normally done like this:

typedef LoadTest<...> MyLoadTestClass; template class LoadImplementationTest<MyLoadTestClass>;

Definition at line 48 of file itkFEMLoadImplementationTest.h.


Member Function Documentation

template<class TLoadClass >
static void itk::fem::LoadImplementationTest< TLoadClass >::impl ( Element2DC0LinearLineStress::ConstPointer  element,
Element::LoadPointer  load,
Element::VectorType Fe 
) [inline, static]

Definition at line 51 of file itkFEMLoadImplementationTest.h.


The documentation for this class was generated from the following file:

Generated at Tue Sep 15 15:24:11 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000