warp.fem.NodalQuadrature#
- class warp.fem.NodalQuadrature(
- domain,
- space=None,
- basis_space=None,
- space_partition=None,
Quadrature using space node points as quadrature points
Note that in contrast to the assembly=”nodal” flag for
integrate(), using this quadrature does not imply any assumption about orthogonality of shape functions, and is thus safe to use for arbitrary integrands.- Parameters:
domain (GeometryDomain | None)
space (FunctionSpace | None)
basis_space (BasisSpace | None)
space_partition (SpacePartition | None)
- __init__(
- domain,
- space=None,
- basis_space=None,
- space_partition=None,
- Parameters:
domain (GeometryDomain | None)
space (FunctionSpace | None)
basis_space (BasisSpace | None)
space_partition (SpacePartition | None)
Methods
__init__(domain[, space, basis_space, ...])arg_value(device)element_index_arg_value(device)evaluation_point_count()fill_arg(arg, device)point_coords(elt_arg, qp_arg, ...)Coordinates in element of the element's qp_index'th quadrature point
point_count(elt_arg, qp_arg, ...)Number of quadrature points for a given element
point_evaluation_index(elt_arg, qp_arg, ...)Quadrature point index according to evaluation order.
point_index(elt_arg, qp_arg, ...)Global index of the element's qp_index'th quadrature point.
point_weight(elt_arg, qp_arg, ...)Weight of the element's qp_index'th quadrature point
Attributes
ArgElementIndexArgdomainDomain over which this quadrature is defined
evaluation_point_element_index- property name#