Quadrature_base#

#include <Quadrature_base.h>
Brief description

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Quadrature\_base <class-quadrature-base>`
[Quadrature\_base](#class-quadrature-base)

Detailed description#

Inherited by#

Inheritance graph#

If the image is too small, right-click and open in new tab

../../../../../_images/classQuadrature__base__inherit__graph.png

List of Public Methods#

List of Protected Methods#

Complete Member Function Documentation#

compute_integ_points#

Definition
virtual void Quadrature_base::compute_integ_points()=0
Brief description
Detailed description

Compute for the whole domain the exact location of integration points per element

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`virtual void Quadrature_base::compute_integ_points()=0 <quadrature-base-public-virtual-void-quadrature-base-compute-integ-points-equal-0>`
[virtual void Quadrature_base::compute_integ_points()=0](#quadrature-base-public-virtual-void-quadrature-base-compute-integ-points-equal-0)

compute_integ_points_on_facet#

Definition
virtual void Quadrature_base::compute_integ_points_on_facet()=0
Brief description
Detailed description

Compute for the whole domain the exact location of integration points per facet

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`virtual void Quadrature_base::compute_integ_points_on_facet()=0 <quadrature-base-public-virtual-void-quadrature-base-compute-integ-points-on-facet-equal-0>`
[virtual void Quadrature_base::compute_integ_points_on_facet()=0](#quadrature-base-public-virtual-void-quadrature-base-compute-integ-points-on-facet-equal-0)

compute_integral#

Definition
double Quadrature_base::compute_integral(DoubleTab &vals_pts_integ) const
Brief description
Detailed description

Compute the integral of a function on the whole domain with its values on integration points

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral(DoubleTab &vals_pts_integ) const <quadrature-base-public-double-quadrature-base-compute-integral-doubletab-ref-vals-pts-integ-const>`
[double Quadrature_base::compute_integral(DoubleTab &vals_pts_integ) const](#quadrature-base-public-double-quadrature-base-compute-integral-doubletab-ref-vals-pts-integ-const)

compute_integral#

Definition
double Quadrature_base::compute_integral(Parser_U &parser) const
Brief description
Detailed description

Compute the integral of a function on the whole domain

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral(Parser_U &parser) const <quadrature-base-public-double-quadrature-base-compute-integral-parser-u-ref-parser-const>`
[double Quadrature_base::compute_integral(Parser_U &parser) const](#quadrature-base-public-double-quadrature-base-compute-integral-parser-u-ref-parser-const)

compute_integral_on_elem#

Definition
double Quadrature_base::compute_integral_on_elem(int num_elem, DoubleTab &val_pts_integ) const
Brief description
Detailed description

Compute the integral of a function on one triangle with its value on integration points

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral_on_elem(int num_elem, DoubleTab &val_pts_integ) const <quadrature-base-public-double-quadrature-base-compute-integral-on-elem-int-num-elem-doubletab-ref-val-pts-integ-const>`
[double Quadrature_base::compute_integral_on_elem(int num_elem, DoubleTab &val_pts_integ) const](#quadrature-base-public-double-quadrature-base-compute-integral-on-elem-int-num-elem-doubletab-ref-val-pts-integ-const)

compute_integral_on_elem#

Definition
double Quadrature_base::compute_integral_on_elem(int num_elem, Parser_U &parser) const
Brief description
Detailed description

Compute the integral of a function on one triangle

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral_on_elem(int num_elem, Parser_U &parser) const <quadrature-base-public-double-quadrature-base-compute-integral-on-elem-int-num-elem-parser-u-ref-parser-const>`
[double Quadrature_base::compute_integral_on_elem(int num_elem, Parser_U &parser) const](#quadrature-base-public-double-quadrature-base-compute-integral-on-elem-int-num-elem-parser-u-ref-parser-const)

compute_integral_on_elem#

Definition
double Quadrature_base::compute_integral_on_elem(Parser_U &parser) const
Brief description
Detailed description

Compute the integral of a function on each triangle

How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral_on_elem(Parser_U &parser) const <quadrature-base-public-double-quadrature-base-compute-integral-on-elem-parser-u-ref-parser-const>`
[double Quadrature_base::compute_integral_on_elem(Parser_U &parser) const](#quadrature-base-public-double-quadrature-base-compute-integral-on-elem-parser-u-ref-parser-const)

compute_integral_on_facet#

Definition
double Quadrature_base::compute_integral_on_facet(int num_facet, DoubleTab &val_pts_integ) const
Brief description
Detailed description

Compute the integral of a function on one facet with its value on integration points

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral_on_facet(int num_facet, DoubleTab &val_pts_integ) const <quadrature-base-public-double-quadrature-base-compute-integral-on-facet-int-num-facet-doubletab-ref-val-pts-integ-const>`
[double Quadrature_base::compute_integral_on_facet(int num_facet, DoubleTab &val_pts_integ) const](#quadrature-base-public-double-quadrature-base-compute-integral-on-facet-int-num-facet-doubletab-ref-val-pts-integ-const)

compute_integral_on_facet#

Definition
double Quadrature_base::compute_integral_on_facet(int num_facet, Parser_U &parser) const
Brief description
Detailed description

Compute the integral of a function on each triangle with its value on integration points Compute the integral of a function on one facet

References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::compute_integral_on_facet(int num_facet, Parser_U &parser) const <quadrature-base-public-double-quadrature-base-compute-integral-on-facet-int-num-facet-parser-u-ref-parser-const>`
[double Quadrature_base::compute_integral_on_facet(int num_facet, Parser_U &parser) const](#quadrature-base-public-double-quadrature-base-compute-integral-on-facet-int-num-facet-parser-u-ref-parser-const)

get_ind_pts_integ#

Definition
const IntTab & Quadrature_base::get_ind_pts_integ() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const IntTab & Quadrature_base::get_ind_pts_integ() const <quadrature-base-public-const-inttab-ref-quadrature-base-get-ind-pts-integ-const>`
[const IntTab & Quadrature_base::get_ind_pts_integ() const](#quadrature-base-public-const-inttab-ref-quadrature-base-get-ind-pts-integ-const)

get_integ_points#

Definition
const DoubleTab & Quadrature_base::get_integ_points() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleTab & Quadrature_base::get_integ_points() const <quadrature-base-public-const-doubletab-ref-quadrature-base-get-integ-points-const>`
[const DoubleTab & Quadrature_base::get_integ_points() const](#quadrature-base-public-const-doubletab-ref-quadrature-base-get-integ-points-const)

get_integ_points_facets#

Definition
const DoubleTab & Quadrature_base::get_integ_points_facets() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleTab & Quadrature_base::get_integ_points_facets() const <quadrature-base-public-const-doubletab-ref-quadrature-base-get-integ-points-facets-const>`
[const DoubleTab & Quadrature_base::get_integ_points_facets() const](#quadrature-base-public-const-doubletab-ref-quadrature-base-get-integ-points-facets-const)

get_tab_nb_pts_integ#

Definition
const IntTab & Quadrature_base::get_tab_nb_pts_integ() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const IntTab & Quadrature_base::get_tab_nb_pts_integ() const <quadrature-base-public-const-inttab-ref-quadrature-base-get-tab-nb-pts-integ-const>`
[const IntTab & Quadrature_base::get_tab_nb_pts_integ() const](#quadrature-base-public-const-inttab-ref-quadrature-base-get-tab-nb-pts-integ-const)

get_weights#

Definition
const DoubleTab & Quadrature_base::get_weights() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleTab & Quadrature_base::get_weights() const <quadrature-base-public-const-doubletab-ref-quadrature-base-get-weights-const>`
[const DoubleTab & Quadrature_base::get_weights() const](#quadrature-base-public-const-doubletab-ref-quadrature-base-get-weights-const)

get_weights_facets#

Definition
const DoubleTab & Quadrature_base::get_weights_facets() const
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`const DoubleTab & Quadrature_base::get_weights_facets() const <quadrature-base-public-const-doubletab-ref-quadrature-base-get-weights-facets-const>`
[const DoubleTab & Quadrature_base::get_weights_facets() const](#quadrature-base-public-const-doubletab-ref-quadrature-base-get-weights-facets-const)

ind_pts_integ#

Definition
int Quadrature_base::ind_pts_integ(int e) const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Quadrature_base::ind_pts_integ(int e) const <quadrature-base-public-int-quadrature-base-ind-pts-integ-int-e-const>`
[int Quadrature_base::ind_pts_integ(int e) const](#quadrature-base-public-int-quadrature-base-ind-pts-integ-int-e-const)

nb_pts_integ#

Definition
int Quadrature_base::nb_pts_integ(int e) const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Quadrature_base::nb_pts_integ(int e) const <quadrature-base-public-int-quadrature-base-nb-pts-integ-int-e-const>`
[int Quadrature_base::nb_pts_integ(int e) const](#quadrature-base-public-int-quadrature-base-nb-pts-integ-int-e-const)

nb_pts_integ_facets#

Definition
int Quadrature_base::nb_pts_integ_facets() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Quadrature_base::nb_pts_integ_facets() const <quadrature-base-public-int-quadrature-base-nb-pts-integ-facets-const>`
[int Quadrature_base::nb_pts_integ_facets() const](#quadrature-base-public-int-quadrature-base-nb-pts-integ-facets-const)

nb_pts_integ_max#

Definition
int Quadrature_base::nb_pts_integ_max() const
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int Quadrature_base::nb_pts_integ_max() const <quadrature-base-public-int-quadrature-base-nb-pts-integ-max-const>`
[int Quadrature_base::nb_pts_integ_max() const](#quadrature-base-public-int-quadrature-base-nb-pts-integ-max-const)

Quadrature_base#

Definition
Quadrature_base::Quadrature_base(const Domaine_DG &dom)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`Quadrature_base::Quadrature_base(const Domaine_DG &dom) <quadrature-base-public-quadrature-base-quadrature-base-const-domaine-dg-ref-dom>`
[Quadrature_base::Quadrature_base(const Domaine_DG &dom)](#quadrature-base-public-quadrature-base-quadrature-base-const-domaine-dg-ref-dom)

~Quadrature_base#

Definition
virtual Quadrature_base::~Quadrature_base()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`virtual Quadrature_base::~Quadrature_base() <quadrature-base-public-virtual-quadrature-base-dtor-quadrature-base>`
[virtual Quadrature_base::~Quadrature_base()](#quadrature-base-public-virtual-quadrature-base-dtor-quadrature-base)

calculateWeightScale#

Definition
double Quadrature_base::calculateWeightScale(const IntTab &vert_elems, const DoubleTab &xs, DoubleVect &volumes, int e, int s1, int s2, int s3)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::calculateWeightScale(const IntTab &vert_elems, const DoubleTab &xs, DoubleVect &volumes, int e, int s1, int s2, int s3) <quadrature-base-protected-double-quadrature-base-calculateweightscale-const-inttab-ref-vert-elems-const-doubletab-ref-xs-doublevect-ref-volumes-int-e-int-s1-int-s2-int-s3>`
[double Quadrature_base::calculateWeightScale(const IntTab &vert_elems, const DoubleTab &xs, DoubleVect &volumes, int e, int s1, int s2, int s3)](#quadrature-base-protected-double-quadrature-base-calculateweightscale-const-inttab-ref-vert-elems-const-doubletab-ref-xs-doublevect-ref-volumes-int-e-int-s1-int-s2-int-s3)

calculateWeightScale#

Definition
double Quadrature_base::calculateWeightScale(double ve, double s1x, double s1y, double s2x, double s2y, double s3x, double s3y)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::calculateWeightScale(double ve, double s1x, double s1y, double s2x, double s2y, double s3x, double s3y) <quadrature-base-protected-double-quadrature-base-calculateweightscale-double-ve-double-s1x-double-s1y-double-s2x-double-s2y-double-s3x-double-s3y>`
[double Quadrature_base::calculateWeightScale(double ve, double s1x, double s1y, double s2x, double s2y, double s3x, double s3y)](#quadrature-base-protected-double-quadrature-base-calculateweightscale-double-ve-double-s1x-double-s1y-double-s2x-double-s2y-double-s3x-double-s3y)

triangleArea#

Definition
double Quadrature_base::triangleArea(double x1, double y1, double x2, double y2, double x3, double y3)
Brief description
Detailed description
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double Quadrature_base::triangleArea(double x1, double y1, double x2, double y2, double x3, double y3) <quadrature-base-protected-double-quadrature-base-trianglearea-double-x1-double-y1-double-x2-double-y2-double-x3-double-y3>`
[double Quadrature_base::triangleArea(double x1, double y1, double x2, double y2, double x3, double y3)](#quadrature-base-protected-double-quadrature-base-trianglearea-double-x1-double-y1-double-x2-double-y2-double-x3-double-y3)

Attributes Documentation#

dom_ (protected)
TRUST_Ref<Domaine_DG *> Quadrature_base::dom_
ind_pts_integ_ (protected)
IntTab Quadrature_base::ind_pts_integ_
integ_points_ (protected)
DoubleTab Quadrature_base::integ_points_
integ_points_facets_ (protected)
DoubleTab Quadrature_base::integ_points_facets_
nb_pts_integ_facets_ (protected)
int Quadrature_base::nb_pts_integ_facets_
nb_pts_integ_max_ (protected)
int Quadrature_base::nb_pts_integ_max_
nb_pts_integ_quad_ (protected)
int Quadrature_base::nb_pts_integ_quad_
nb_pts_integ_tri_ (protected)
int Quadrature_base::nb_pts_integ_tri_
parser_ (protected)
Parser_U Quadrature_base::parser_
tab_nb_pts_integ_ (protected)
IntTab Quadrature_base::tab_nb_pts_integ_
weights_ (protected)
DoubleTab Quadrature_base::weights_
weights_facets_ (protected)
DoubleTab Quadrature_base::weights_facets_
weights_quad_ (protected)
DoubleTab Quadrature_base::weights_quad_
weights_tri_ (protected)
DoubleTab Quadrature_base::weights_tri_