Hermes2D  3.0
Hermes::Hermes2D::PostProcessing::SurfaceIntegralCalculator< Scalar > Class Template Referenceabstract

Surface integral calculator. More...

#include <postprocessing.h>

+ Inheritance diagram for Hermes::Hermes2D::PostProcessing::SurfaceIntegralCalculator< Scalar >:

Public Member Functions

 SurfaceIntegralCalculator (MeshFunctionSharedPtr< Scalar > source_function, int number_of_integrals)
 
 SurfaceIntegralCalculator (std::vector< MeshFunctionSharedPtr< Scalar > > source_functions, int number_of_integrals)
 
virtual void integral (int n, double *wt, Func< Scalar > **fns, GeomSurf< double > *e, Scalar *result)=0
 
Scalar * calculate (std::vector< std::string > markers)
 
- Public Member Functions inherited from Hermes::Hermes2D::PostProcessing::IntegralCalculator< Scalar >
 IntegralCalculator (MeshFunctionSharedPtr< Scalar > source_function, int number_of_integrals)
 
 IntegralCalculator (std::vector< MeshFunctionSharedPtr< Scalar > > source_functions, int number_of_integrals)
 
virtual Scalar * calculate (std::string marker)
 
virtual void order (Func< Hermes::Ord > **fns, Hermes::Ord *result)=0
 The integration order calculation.
 

Additional Inherited Members

- Protected Member Functions inherited from Hermes::Hermes2D::PostProcessing::IntegralCalculator< Scalar >
void add_results (Scalar *results_local, Scalar *results)
 
template<>
void add_results (double *results_local, double *results)
 
template<>
void add_results (std::complex< double > *results_local, std::complex< double > *results)
 
- Protected Attributes inherited from Hermes::Hermes2D::PostProcessing::IntegralCalculator< Scalar >
std::vector
< MeshFunctionSharedPtr
< Scalar > > 
source_functions
 
int number_of_integrals
 
- Protected Attributes inherited from Hermes::Hermes2D::Mixins::Parallel
unsigned char num_threads_used
 
std::string exceptionMessageCaughtInParallelBlock
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::PostProcessing::SurfaceIntegralCalculator< Scalar >

Surface integral calculator.

Definition at line 168 of file postprocessing.h.

Member Function Documentation

template<typename Scalar >
Scalar * Hermes::Hermes2D::PostProcessing::SurfaceIntegralCalculator< Scalar >::calculate ( std::vector< std::string >  markers)
virtual

Main method returning the value. Not designed to be overriden.

Implements Hermes::Hermes2D::PostProcessing::IntegralCalculator< Scalar >.

Definition at line 823 of file postprocessing.cpp.

template<typename Scalar >
virtual void Hermes::Hermes2D::PostProcessing::SurfaceIntegralCalculator< Scalar >::integral ( int  n,
double *  wt,
Func< Scalar > **  fns,
GeomSurf< double > *  e,
Scalar *  result 
)
pure virtual

The integral description.

Parameters
[in]n- number of integration points.
[in]result- preallocated (see number_of_integrals in the constructor) and zeroed array for the results.

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