Helper class to integrate over a cylinder domain.
More...
#include <dumux/multidomain/embedded/cylinderintegration.hh>
template<class Scalar>
class Dumux::EmbeddedCoupling::CylinderIntegration< Scalar >
- Note
- This is mostly useful if the integral is known and the integral mass has to be locally distributed to some non-matching domain
-
The algorithm creates (almost) evenly spaced area elements on a circle and extrudes this pattern into a cylinder. Each sub-cell is an integration point with constant ansatz on the sub-cell (lowest order integration formula). Hence to improve the quality of the integral, increase the sample size.
-
The volume integral of a constant function is exact See Beckers & Beckers (2012) doi:10.1016/j.comgeo.2012.01.011 for circle distribution and T. Koch PhD thesis (2020), Section 7.2.4.
◆ CylinderIntegration() [1/2]
- Parameters
-
rStep | characteristic relative integration length (positive real number between 0 and 1) |
- Note
- half the characteristic length means 2*2*2=8 times more integration points
◆ CylinderIntegration() [2/2]
- Parameters
-
rStep | characteristic relative integration length in r-direction (positive real number between 0 and 1) |
zStep | characteristic relative integration length in z-direction (positive real number between 0 and 1) |
- Note
- Use this constructor to achieve a non-balanced (away from 1) aspect ratio between r and z-direction
◆ integrationElement()
◆ integrationPoint()
◆ setGeometry()
- Parameters
-
bottomCenter | bottom center position |
topCenter | top center position |
radius | cylinder radius |
verbosity | the verbosity level (default: 0 -> no terminal output) |
◆ size()
The documentation for this class was generated from the following file: