cubature Interface

public interface cubature

Construct a rule, e.g. cubature(CUB_TRI, 4) or cubature(CUB_HEX, [3, 3, 1])


Module Procedures

private pure function new_iso(elm, degree) result(self)

Construct a rule of degree degree in every direction

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: elm

Element type, CUB_*

integer, intent(in) :: degree

Degree of exactness

Return Value type(cubature)

private pure function new_aniso(elm, degree) result(self)

Construct a rule with per-direction degrees

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: elm

Element type, CUB_*

integer, intent(in) :: degree(:)

Degrees of exactness, size 1 or number of directions

Return Value type(cubature)