AssemblerTraits< T > Struct Template Reference

#include <AbstractStaticAssembler.hpp>

List of all members.

Public Types

typedef T CVT_CLS
typedef T CMT_CLS
typedef AbstractAssembler
< T::E_DIM, T::S_DIM, T::P_DIM > 
INTERPOLATE_CLS


Detailed Description

template<class T>
struct AssemblerTraits< T >

A default traits class for using static polymorphism in the assembler hierarchy.

The AssemblerTraits struct, for a given concrete class T, defines typedefs specifying where in the hierarchy of assembler classes various methods are defined, so that we can avoid virtual method overhead by setting which method is called at compile time.

The default behaviour, defined in this general template, is that all methods are assumed to be defined in the concrete class T. Template specialization can be used if this is not the case for a given concrete class.

See MonodomainDg0Assembler and SimpleDg0ParabolicAssembler for 2 typical examples of specializing AssemblerTraits.

Definition at line 63 of file AbstractStaticAssembler.hpp.


Member Typedef Documentation

template<class T>
typedef T AssemblerTraits< T >::CVT_CLS

The class in which ComputeVectorTerm is defined.

Definition at line 66 of file AbstractStaticAssembler.hpp.

template<class T>
typedef T AssemblerTraits< T >::CMT_CLS

The class in which ComputeMatrixTerm is defined.

Definition at line 68 of file AbstractStaticAssembler.hpp.

template<class T>
typedef AbstractAssembler<T::E_DIM, T::S_DIM, T::P_DIM> AssemblerTraits< T >::INTERPOLATE_CLS

The class in which IncrementInterpolatedQuantities and ResetInterpolatedQuantities are defined.

Definition at line 70 of file AbstractStaticAssembler.hpp.


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

Generated on Tue Aug 4 16:10:49 2009 for Chaste by  doxygen 1.5.5