Globals Library 1.0
|
Module for computation of 1d and tensorized 2d Gauss points. More...
Data Types | |
type | gaussq |
Functions/Subroutines | |
subroutine | init_gaussq (this, lun_err, ngauss) |
Static constructor for gaussquadrature::gaussq | |
subroutine | kill_gaussq (this, lun_err) |
Static destructor for gaussquadrature::gaussq | |
subroutine | info_gaussq (this, lun_out) |
Info procedure for gaussquadrature::gaussq | |
subroutine | on_interval (this, a, b) |
Compute Gauss points on the interval \([a,b]\). | |
subroutine | on_cell (this, ax, bx, ay, by) |
Compute Gauss points of \([a_x,b_x] \times [a_y,b_y]\). | |
Module for computation of 1d and tensorized 2d Gauss points.
subroutine gaussquadrature::init_gaussq | ( | class(gaussq), intent(inout) | this, |
integer, intent(in) | lun_err, | ||
integer, intent(in) | ngauss ) |
Static constructor for gaussquadrature::gaussq
Allocate all the variables. Define variable gaussq::coeff1d
and gaussq::weight1d
.
[in] | lun_err | unit number for error messages |
[in] | ngauss | Number of Gauss points |
|
private |
Static destructor for gaussquadrature::gaussq
Deallocate all the variables.
[in] | lun_err | unit number for error messagges |
|
private |
|
private |
Compute Gauss points on the interval \([a,b]\).
Define variables gaussq::coord_ab
and gaussq::weight_ab
.
[in] | a | left endpoint of interval |
[in] | b | right endpoint of interval |
|
private |
Compute Gauss points of \([a_x,b_x] \times [a_y,b_y]\).
Gauss points in \(\mathbb{R}^{2}\) are computed by tensorization of 1d Gauss points. Define variables gaussq::coord_cell
and gaussq::weight_cell
.
[in] | ax | left endpoint interval variable \(x\). |
[in] | bx | right endpoint interval variable \(x\). |
[in] | ay | left endpoint interval variable \(y\). |
[in] | by | right endpoint interval variable y. |