ug4
ug::AssembledOperator< TAlgebra > Class Template Reference

#include <assembled_non_linear_operator.h>

+ Inheritance diagram for ug::AssembledOperator< TAlgebra >:

Public Types

typedef TAlgebra algebra_type
 Type of algebra. More...
 
typedef TAlgebra::matrix_type matrix_type
 Type of Vector. More...
 
typedef TAlgebra::vector_type vector_type
 Type of Vector. More...
 
- Public Types inherited from ug::IOperator< TAlgebra::vector_type >
typedef TAlgebra::vector_type codomain_function_type
 Range space. More...
 
typedef TAlgebra::vector_type domain_function_type
 Domain space. More...
 

Public Member Functions

virtual void apply (vector_type &d, const vector_type &u)
 Compute d = L(u) More...
 
 AssembledOperator ()
 default constructor More...
 
 AssembledOperator (SmartPtr< IAssemble< TAlgebra > > ass)
 constructor More...
 
 AssembledOperator (SmartPtr< IAssemble< TAlgebra > > ass, const GridLevel &gl)
 constructor More...
 
SmartPtr< IAssemble< TAlgebra > > discretization ()
 return assembling More...
 
virtual void init ()
 Init. More...
 
const GridLevellevel () const
 returns the level used for assembling More...
 
virtual void prepare (vector_type &u)
 Prepare for apply. More...
 
void set_discretization (SmartPtr< IAssemble< TAlgebra > > ass)
 sets discretization for assembling More...
 
void set_level (const GridLevel &gl)
 sets the level used for assembling More...
 
- Public Member Functions inherited from ug::IOperator< TAlgebra::vector_type >
virtual ~IOperator ()
 virtual destructor More...
 

Protected Attributes

GridLevel m_gridLevel
 used grid level More...
 
SmartPtr< IAssemble< TAlgebra > > m_spAss
 assembling procedure More...
 

Member Typedef Documentation

◆ algebra_type

template<typename TAlgebra >
typedef TAlgebra ug::AssembledOperator< TAlgebra >::algebra_type

Type of algebra.

◆ matrix_type

template<typename TAlgebra >
typedef TAlgebra::matrix_type ug::AssembledOperator< TAlgebra >::matrix_type

Type of Vector.

◆ vector_type

template<typename TAlgebra >
typedef TAlgebra::vector_type ug::AssembledOperator< TAlgebra >::vector_type

Type of Vector.

Constructor & Destructor Documentation

◆ AssembledOperator() [1/3]

template<typename TAlgebra >
ug::AssembledOperator< TAlgebra >::AssembledOperator ( )
inline

default constructor

◆ AssembledOperator() [2/3]

template<typename TAlgebra >
ug::AssembledOperator< TAlgebra >::AssembledOperator ( SmartPtr< IAssemble< TAlgebra > >  ass)
inline

constructor

◆ AssembledOperator() [3/3]

template<typename TAlgebra >
ug::AssembledOperator< TAlgebra >::AssembledOperator ( SmartPtr< IAssemble< TAlgebra > >  ass,
const GridLevel gl 
)
inline

constructor

Member Function Documentation

◆ apply()

template<typename TAlgebra >
void ug::AssembledOperator< TAlgebra >::apply ( vector_type d,
const vector_type u 
)
virtual

◆ discretization()

template<typename TAlgebra >
SmartPtr<IAssemble<TAlgebra> > ug::AssembledOperator< TAlgebra >::discretization ( )
inline

return assembling

References ug::AssembledOperator< TAlgebra >::m_spAss.

◆ init()

template<typename TAlgebra >
virtual void ug::AssembledOperator< TAlgebra >::init ( )
inlinevirtual

◆ level()

template<typename TAlgebra >
const GridLevel& ug::AssembledOperator< TAlgebra >::level ( ) const
inline

returns the level used for assembling

References ug::AssembledOperator< TAlgebra >::m_gridLevel.

◆ prepare()

template<typename TAlgebra >
void ug::AssembledOperator< TAlgebra >::prepare ( vector_type u)
virtual

Prepare for apply.

Implements ug::IOperator< TAlgebra::vector_type >.

References PROFILE_BEGIN_GROUP, UG_CATCH_THROW, and UG_THROW.

◆ set_discretization()

template<typename TAlgebra >
void ug::AssembledOperator< TAlgebra >::set_discretization ( SmartPtr< IAssemble< TAlgebra > >  ass)
inline

sets discretization for assembling

References ug::AssembledOperator< TAlgebra >::m_spAss.

◆ set_level()

template<typename TAlgebra >
void ug::AssembledOperator< TAlgebra >::set_level ( const GridLevel gl)
inline

sets the level used for assembling

References ug::AssembledOperator< TAlgebra >::m_gridLevel.

Member Data Documentation

◆ m_gridLevel

template<typename TAlgebra >
GridLevel ug::AssembledOperator< TAlgebra >::m_gridLevel
protected

◆ m_spAss

template<typename TAlgebra >
SmartPtr<IAssemble<TAlgebra> > ug::AssembledOperator< TAlgebra >::m_spAss
protected

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