Class xlifepp::DuffyIM#

class DuffyIM : public xlifepp::DoubleIM#

Inheritence diagram for xlifepp::DuffyIM:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="xlifepp::DoubleIM" tooltip="xlifepp::DoubleIM"] "1" [label="xlifepp::DuffyIM" tooltip="xlifepp::DuffyIM" fillcolor="#BFBFBF"] "3" [label="xlifepp::IntegrationMethod" tooltip="xlifepp::IntegrationMethod"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::DuffyIM:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "7" [label="std::vector< T >" tooltip="std::vector< T >"] "8" [label="std::vector< ShapeType >" tooltip="std::vector< ShapeType >"] "6" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "10" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "9" [label="std::vector< std::vector< number_t > >" tooltip="std::vector< std::vector< number_t > >"] "11" [label="std::vector< xlifepp::GeomRefElement * >" tooltip="std::vector< xlifepp::GeomRefElement * >"] "13" [label="std::vector< xlifepp::Quadrature * >" tooltip="std::vector< xlifepp::Quadrature * >"] "2" [label="xlifepp::DoubleIM" tooltip="xlifepp::DoubleIM"] "1" [label="xlifepp::DuffyIM" tooltip="xlifepp::DuffyIM" fillcolor="#BFBFBF"] "5" [label="xlifepp::GeomRefElement" tooltip="xlifepp::GeomRefElement"] "3" [label="xlifepp::IntegrationMethod" tooltip="xlifepp::IntegrationMethod"] "4" [label="xlifepp::Quadrature" tooltip="xlifepp::Quadrature"] "12" [label="xlifepp::QuadratureRule" tooltip="xlifepp::QuadratureRule"] "8" -> "7" [dir=forward tooltip="template-instance"] "6" -> "7" [dir=forward tooltip="template-instance"] "10" -> "7" [dir=forward tooltip="template-instance"] "9" -> "7" [dir=forward tooltip="template-instance"] "11" -> "7" [dir=forward tooltip="template-instance"] "13" -> "7" [dir=forward tooltip="template-instance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "1" -> "4" [dir=forward tooltip="usage"] "5" -> "6" [dir=forward tooltip="usage"] "5" -> "8" [dir=forward tooltip="usage"] "5" -> "9" [dir=forward tooltip="usage"] "5" -> "10" [dir=forward tooltip="usage"] "5" -> "11" [dir=forward tooltip="usage"] "4" -> "5" [dir=forward tooltip="usage"] "4" -> "12" [dir=forward tooltip="usage"] "4" -> "13" [dir=forward tooltip="usage"] "12" -> "6" [dir=forward tooltip="usage"] }

integral over a product of 2D geometric elements with singularity using

  • for adjacent elements : a method based on Duffy transform

  • for self influence : an hybrid method based on t^p transform may manage different quadrature rules Elements must be segment! Note : does not address the case of separate elements

Public Functions

inline DuffyIM(const Quadrature &q)#

full constructor from a quadrature object

inline DuffyIM(IntegrationMethodType imt)#

basic constructor

inline DuffyIM(number_t oX = 6, number_t oY = 6)#

full constructor from quadrature order

inline DuffyIM(QuadRule qsX, number_t osX, QuadRule qsY, number_t osY, QuadRule qaX, number_t oaX, QuadRule qaY, number_t oaY, number_t so = 5, bool us = true)#

full constructor from quadrules

inline virtual void print(std::ostream &os) const#

print IntegrationMethod on stream

inline virtual std::list<Quadrature*> quadratures() const#

return the list of (single) quadratures in a list

Public Members

number_t ordAdjtY#

order of quadratures on the segment for adjacent elements

number_t ordSelfY#

order of quadratures on the segment for self influence

Quadrature *quadAdjtY#

quadratures on segment [0,1] for adjacent elements

Quadrature *quadSelfY#

quadratures on segment [0,1] for self influence

number_t selfOrd#

order of t^p transform or number of diminishing layers (def=5)

bool useSelfTrans#

use improved method for self influence (def=true)