From 760ce83690f77f4dce55904af5fd36dc3a71298f Mon Sep 17 00:00:00 2001 From: Tristan Montoya Date: Sat, 9 Sep 2023 00:07:40 -0400 Subject: [PATCH] fix kw arg for PKD vandermonde --- src/SpatialDiscretizations/tensor_simplex.jl | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/SpatialDiscretizations/tensor_simplex.jl b/src/SpatialDiscretizations/tensor_simplex.jl index 8c655e5b..a1525a73 100644 --- a/src/SpatialDiscretizations/tensor_simplex.jl +++ b/src/SpatialDiscretizations/tensor_simplex.jl @@ -175,7 +175,7 @@ function operators_1d( end function ReferenceApproximation( - approx_type::Union{NodalTensor,ModalTensor}, + approx_type::AbstractTensorProduct, ::Tri; mapping_degree::Int=1, N_plot::Int=10, volume_quadrature_rule=(LGQuadrature(approx_type.p), LGQuadrature(approx_type.p)), @@ -232,12 +232,13 @@ function ReferenceApproximation( end function ReferenceApproximation( - approx_type::Union{NodalTensor,ModalTensor}, + approx_type::AbstractTensorProduct, ::Tet; mapping_degree::Int=1, N_plot::Int=10, volume_quadrature_rule=(LGQuadrature(approx_type.p), LGQuadrature(approx_type.p), GaussQuadrature(approx_type.p,1,0)), facet_quadrature_rule=(LGQuadrature(approx_type.p), - GaussQuadrature(approx_type.p,1,0))) + GaussQuadrature(approx_type.p,1,0)), + sum_factorize_vandermonde=true) # one-dimensional operators η_1D, q, V_1D, D_1D, I_1D, R_L, R_R = operators_1d(