BEM++
2.0
|
Base class for potential operators related to the Laplace equation in 3D. More...
#include </home/wojtek/Projects/BEM/bempp-sven/bempp/lib/assembly/laplace_3d_potential_operator_base.hpp>
Public Member Functions | |
Laplace3dPotentialOperatorBase () | |
Constructor. | |
Laplace3dPotentialOperatorBase (const Laplace3dPotentialOperatorBase &other) | |
Copy constructor. | |
virtual | ~Laplace3dPotentialOperatorBase () |
Destructor. | |
Laplace3dPotentialOperatorBase & | operator= (const Laplace3dPotentialOperatorBase &rhs) |
Assignment operator. | |
![]() | |
virtual std::auto_ptr < InterpolatedFunction < ResultType_ > > | evaluateOnGrid (const GridFunction< BasisFunctionType, ResultType > &argument, const Grid &evaluationGrid, const QuadratureStrategy &quadStrategy, const EvaluationOptions &options) const |
Evaluate the potential of a given charge distribution on a prescribed grid. More... | |
virtual arma::Mat< ResultType_ > | evaluateAtPoints (const GridFunction< BasisFunctionType, ResultType > &argument, const arma::Mat< CoordinateType > &evaluationPoints, const QuadratureStrategy &quadStrategy, const EvaluationOptions &options) const |
Evaluate the potential of a given charge distribution at prescribed points. More... | |
virtual AssembledPotentialOperator < BasisFunctionType_, ResultType_ > | assemble (const shared_ptr< const Space< BasisFunctionType > > &space, const shared_ptr< const arma::Mat< CoordinateType > > &evaluationPoints, const QuadratureStrategy &quadStrategy, const EvaluationOptions &options) const |
Create and return an AssembledPotentialOperator object. More... | |
virtual int | componentCount () const |
Number of components of the values of the potential. More... | |
![]() | |
virtual | ~PotentialOperator () |
Destructor. | |
Private Types | |
typedef ElementaryPotentialOperator < BasisFunctionType_, typename ScalarTraits< ResultType_ > ::RealType, ResultType_ > | Base |
Private Member Functions | |
virtual const CollectionOfKernels & | kernels () const |
Return the collection of kernel functions occurring in the integrand of this operator. | |
virtual const CollectionOfBasisTransformations & | trialTransformations () const |
Return the collection of transformations of the charge distribution that occur in the weak form of this operator. | |
virtual const KernelTrialIntegral & | integral () const |
Return an object representing the integral used to evaluate the potential of a charge distribution. More... | |
Base class for potential operators related to the Laplace equation in 3D.
Impl | Type of the internal implementation object. |
BasisFunctionType_ | Type of the values of the basis functions into which functions acted upon by the operator are expanded. |
ResultType_ | Type of the values of the potential. |
The latter two template parameters can take the following values: float
, double
, std::complex<float>
and std::complex<double>
. Both types must have the same precision: for instance, mixing float
with std::complex<double>
is not allowed. The parameter ResultType_
is by default set to BasisFunctionType_
. You should override that only if you set BasisFunctionType_
to a real type, but you want the potential values to be stored as complex numbers.
typedef Base::CollectionOfBasisTransformations Bempp::Laplace3dPotentialOperatorBase< Impl, BasisFunctionType_, ResultType_ >::CollectionOfBasisTransformations |
Type of the appropriate instantiation of Fiber::CollectionOfBasisTransformations.
typedef Base::CollectionOfKernels Bempp::Laplace3dPotentialOperatorBase< Impl, BasisFunctionType_, ResultType_ >::CollectionOfKernels |
Type of the appropriate instantiation of Fiber::CollectionOfKernels.
typedef Base::CoordinateType Bempp::Laplace3dPotentialOperatorBase< Impl, BasisFunctionType_, ResultType_ >::CoordinateType |
Type used to represent coordinates.
typedef Base::KernelTrialIntegral Bempp::Laplace3dPotentialOperatorBase< Impl, BasisFunctionType_, ResultType_ >::KernelTrialIntegral |
Type of the appropriate instantiation of Fiber::KernelTrialIntegral.
|
privatevirtual |
Return an object representing the integral used to evaluate the potential of a charge distribution.
Subclasses of KernelTrialIntegral implement functions that evaluate the integral using the data provided by a CollectionOfKernels representing the kernel functions occurring in the integrand and a CollectionOfBasisTransformations representing the charge-distribution transformations occurring in the integrand.
Implements Bempp::ElementaryPotentialOperator< BasisFunctionType_, ScalarTraits< ResultType_ >::RealType, ResultType_ >.