DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::quadrature::QuadratureRuleAdaptive Class Reference

#include <QuadratureRuleAdaptive.h>

Inheritance diagram for dftefe::quadrature::QuadratureRuleAdaptive:
Collaboration diagram for dftefe::quadrature::QuadratureRuleAdaptive:

Public Member Functions

 QuadratureRuleAdaptive (const basis::TriangulationCellBase &cell, const QuadratureRule &baseQuadratureRule, const basis::CellMappingBase &cellMapping, basis::ParentToChildCellsManagerBase &parentToChildCellsManager, std::vector< std::shared_ptr< const utils::ScalarSpatialFunctionReal > > functions, const std::vector< double > &absoluteTolerances, const std::vector< double > &relativeTolerances, const std::vector< double > &integralThresholds, std::map< std::string, double > &timer, const double smallestCellVolume=QuadratureRuleAdaptiveDefaults::SMALLEST_CELL_VOLUME, const unsigned int maxRecursion=QuadratureRuleAdaptiveDefaults::MAX_RECURSION)
 
- Public Member Functions inherited from dftefe::quadrature::QuadratureRule
virtual ~QuadratureRule ()=default
 
 QuadratureRule (const size_type dim, const std::vector< utils::Point > &points, const std::vector< double > &weights)
 Constructor to create a tensor structured quadrature with arbitrary 1D points and weights. More...
 
virtual const std::vector< utils::Point > & getPoints () const
 A function to return the quad points in the parametric space. More...
 
virtual const std::vector< utils::Point > & get1DPoints () const
 A function to return the 1D quad points in the parametric space. This function throws an error if this quadrature Rule is not tensor structured. More...
 
virtual const std::vector< double > & getWeights () const
 A function to returns the weights of the quadrature points. More...
 
virtual const std::vector< double > & get1DWeights () const
 A function to return the 1D quad points in the parametric space. This function throws an error if this quadrature Rule is not tensor structured. More...
 
virtual bool isTensorStructured () const
 
virtual size_type nPoints () const
 
virtual size_type n1DPoints () const
 
virtual size_type getDim () const
 

Additional Inherited Members

- Protected Member Functions inherited from dftefe::quadrature::QuadratureRule
 QuadratureRule ()
 
- Protected Attributes inherited from dftefe::quadrature::QuadratureRule
size_type d_dim
 
size_type d_numPoints
 
size_type d_num1DPoints
 
std::vector< utils::Pointd_points
 
std::vector< utils::Pointd_1DPoints
 
std::vector< double > d_weights
 
std::vector< double > d_1DWeights
 
bool d_isTensorStructured
 

Constructor & Destructor Documentation

◆ QuadratureRuleAdaptive()

dftefe::quadrature::QuadratureRuleAdaptive::QuadratureRuleAdaptive ( const basis::TriangulationCellBase cell,
const QuadratureRule baseQuadratureRule,
const basis::CellMappingBase cellMapping,
basis::ParentToChildCellsManagerBase parentToChildCellsManager,
std::vector< std::shared_ptr< const utils::ScalarSpatialFunctionReal > >  functions,
const std::vector< double > &  absoluteTolerances,
const std::vector< double > &  relativeTolerances,
const std::vector< double > &  integralThresholds,
std::map< std::string, double > &  timer,
const double  smallestCellVolume = QuadratureRuleAdaptiveDefaults::SMALLEST_CELL_VOLUME,
const unsigned int  maxRecursion = QuadratureRuleAdaptiveDefaults::MAX_RECURSION 
)
Here is the call graph for this function:

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