BEM++  2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
Bempp::DiscreteBoundaryOperatorCache< BasisFunctionType, ResultType > Class Template Reference

Cache of discrete boundary operators. More...

#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/assembly/discrete_boundary_operator_cache.hpp>

Public Member Functions

 DiscreteBoundaryOperatorCache ()
 Constructor.
 
 ~DiscreteBoundaryOperatorCache ()
 Destructor.
 
BEMPP_DEPRECATED shared_ptr
< const
DiscreteBoundaryOperator
< ResultType > > 
getWeakForm (const Context< BasisFunctionType, ResultType > &context, const AbstractBoundaryOperator< BasisFunctionType, ResultType > &op) const
 Return the weak form of the operator op. More...
 
std::vector< shared_ptr< const
DiscreteBoundaryOperator
< ResultType > > > 
aliveOperators () const
 Return list of discrete operators currently stored in cache. More...
 

Detailed Description

template<typename BasisFunctionType, typename ResultType>
class Bempp::DiscreteBoundaryOperatorCache< BasisFunctionType, ResultType >

Cache of discrete boundary operators.

Deprecated:
This class is no longer used and will be removed in a future version of BEM++.

Member Function Documentation

template<typename BasisFunctionType , typename ResultType >
std::vector< shared_ptr< const DiscreteBoundaryOperator< ResultType > > > Bempp::DiscreteBoundaryOperatorCache< BasisFunctionType, ResultType >::aliveOperators ( ) const

Return list of discrete operators currently stored in cache.

Can be used for debugging.

template<typename BasisFunctionType , typename ResultType >
shared_ptr< const DiscreteBoundaryOperator< ResultType > > Bempp::DiscreteBoundaryOperatorCache< BasisFunctionType, ResultType >::getWeakForm ( const Context< BasisFunctionType, ResultType > &  context,
const AbstractBoundaryOperator< BasisFunctionType, ResultType > &  op 
) const

Return the weak form of the operator op.

This function first checks whether the weak form of op is already stored in the DiscreteBoundaryOperatorCache object. If it is, it is returned. Otherwise the weak form is assembled from scratch, possible stored in cache (if the operator op is cacheable) and returned to the caller.

References Bempp::AbstractBoundaryOperator< BasisFunctionType_, ResultType_ >::assembleWeakForm(), and Bempp::AbstractBoundaryOperator< BasisFunctionType_, ResultType_ >::id().


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