methodsnm
.intrule_2d
index
/builds/lehrenfeld/methodsnm/git-repo/jlcontent/src/methodsnm/intrule_2d.py
This module provides classes for numerical integration rules in 2D (triangles).
Modules
numpy
Classes
methodsnm.intrule.IntRule
(
builtins.object
)
DuffyBasedRule
IntRuleTriangle
EdgeMidPointRule
class
DuffyBasedRule
(
methodsnm.intrule.IntRule
)
DuffyBasedRule
(order)
Method resolution order:
DuffyBasedRule
methodsnm.intrule.IntRule
builtins.object
Methods defined here:
__init__
(self, order)
Initialize self. See help(type(self)) for accurate signature.
Methods inherited from
methodsnm.intrule.IntRule
:
__str__
(self)
Return str(self).
integrate
(self, f)
Data descriptors inherited from
methodsnm.intrule.IntRule
:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object
Data and other attributes inherited from
methodsnm.intrule.IntRule
:
exactness_degree
= None
nodes
= None
weights
= None
class
EdgeMidPointRule
(
IntRuleTriangle
)
Class for the midpoint rule for 1D numerical integration.
Method resolution order:
EdgeMidPointRule
IntRuleTriangle
methodsnm.intrule.IntRule
builtins.object
Methods defined here:
__init__
(self)
Initializes the midpoint rule with the given interval.
Methods inherited from
methodsnm.intrule.IntRule
:
__str__
(self)
Return str(self).
integrate
(self, f)
Data descriptors inherited from
methodsnm.intrule.IntRule
:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object
Data and other attributes inherited from
methodsnm.intrule.IntRule
:
exactness_degree
= None
nodes
= None
weights
= None
class
IntRuleTriangle
(
methodsnm.intrule.IntRule
)
Abstract base class for numerical integration rules on triangle.
Method resolution order:
IntRuleTriangle
methodsnm.intrule.IntRule
builtins.object
Methods defined here:
__init__
(self)
Initialize self. See help(type(self)) for accurate signature.
Methods inherited from
methodsnm.intrule.IntRule
:
__str__
(self)
Return str(self).
integrate
(self, f)
Data descriptors inherited from
methodsnm.intrule.IntRule
:
__dict__
dictionary for instance variables
__weakref__
list of weak references to the object
Data and other attributes inherited from
methodsnm.intrule.IntRule
:
exactness_degree
= None
nodes
= None
weights
= None