Loading [MathJax]/extensions/tex2jax.js
ug4
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ug::IPProcessVector< TVector > Class Template Referenceabstract

interface for pre- and postprocess functions More...

#include <pprocess.h>

Public Types

typedef TVector vector_type
 the vector type
 

Public Member Functions

virtual void apply (vector_type &v)=0
 user-defined pre- or post-process function
 
virtual ~IPProcessVector ()
 virtual destructor
 

Detailed Description

template<typename TVector>
class ug::IPProcessVector< TVector >

interface for pre- and postprocess functions

This is a base (interface) class for pre- and postprocess operations for solvers. A typical application of these operations is the projections eliminating the kernel parts etc.

This class defines a generic virtual function for the vectors. If the function requires the geometry, the RTTI should be used to cast the vector to the grid gunction type.

Template Parameters
TVectorthe vector type in the algebra

Member Typedef Documentation

◆ vector_type

template<typename TVector >
typedef TVector ug::IPProcessVector< TVector >::vector_type

the vector type

Constructor & Destructor Documentation

◆ ~IPProcessVector()

template<typename TVector >
virtual ug::IPProcessVector< TVector >::~IPProcessVector ( )
inlinevirtual

virtual destructor

Member Function Documentation

◆ apply()

template<typename TVector >
virtual void ug::IPProcessVector< TVector >::apply ( vector_type v)
pure virtual

user-defined pre- or post-process function

Implemented in ug::Electromagnetism::NedelecProject< typename TDomain, typename TAlgebra >.


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