WARPXM v1.10.0
Loading...
Searching...
No Matches
triangle_basis.py File Reference

Classes

class  triangle_basis.TriangleBasis
 
class  triangle_basis.TrianglePPQuadratureTest
 

Namespaces

namespace  triangle_basis
 

Functions

def triangle_basis.rs_to_a (r, s)
 
def triangle_basis.rs_to_b (r, s)
 
def triangle_basis.triangle_orthogonal_polynomials (max_degree)
 An orthogonal polynomial family on the [0, 1], [0, 1] triangle, up to total degree max_degree
 
def triangle_basis.triangle_monomials (max_degree)
 The monomials in 2 dimensions, with their degrees ordered like [(0, 0), (1, 0), (0, 1), (2, 0), (1, 1), (0, 2), ...].
 
def triangle_basis.triangle_collocation_nodes (order)
 
def triangle_basis.triangle_exact_quadrature_rule (order)
 
def triangle_basis.triangle_projected_quadrature_rule (u_rule, v_rule, corner=1)
 Uses a modification of the procedure described in [1] Xiangxiong Zhang, Yinhua Xia, Chi-Wang Shu.
 
def triangle_basis.tensor_product_quad_rule_2d (u_rule, v_rule)
 
def triangle_basis.triangle_tensor_product_positivity_preserving_quad_rule (order)
 
def triangle_basis.triangle_positivity_preserving_quad_rule (order)
 Computes a quadrature rule on the triangle which is exact for polynomials up to degree order-1, and which has all-positive weights.
 
def triangle_basis.triangle_positivity_preserving_extra_quad_nodes (order, collocation_nodes)
 Determine the extra positivity-preserving quadrature nodes, in addition to the face LGL nodes, at which to enforce positivity in the positivity-enforcing limiter.
 
def triangle_basis.triangle_optimal_gq_rule (order)