Skip to content

Commit

Permalink
update version of startupdg
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmontoya committed Jun 24, 2024
1 parent a7d4548 commit bd5bde2
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StableSpectralElements"
uuid = "fb992021-99c7-4c2d-a14b-5e48ac4045b2"
authors = ["Tristan Montoya <[email protected]>"]
version = "0.2.10"
version = "0.2.11"

[deps]
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
Expand Down Expand Up @@ -43,23 +43,23 @@ BenchmarkTools = "1"
DiffEqCallbacks = "2"
Documenter = "0.27"
DocumenterTools = "0.1"
GR = "0.72"
GR = "0.73"
IJulia = "1"
JLD2 = "0.4"
Jacobi = "0.6.0"
LaTeXStrings = "1"
LinearMaps = "3"
LoopVectorization = "0.12"
MuladdMacro = "0.2"
NodesAndModes = "0.9.2"
NodesAndModes = "1"
Octavian = "0.3"
OrdinaryDiffEq = "6"
Plots = "1"
PrettyTables = "2"
RecipesBase = "1"
Reexport = "1"
Revise = "3"
StartUpDG = "0.17"
StartUpDG = "1"
StaticArrays = "1"
TetGen = "1"
TimerOutputs = "0.5"
Expand Down
2 changes: 1 addition & 1 deletion src/SpatialDiscretizations/SpatialDiscretizations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module SpatialDiscretizations
using LinearAlgebra: I, inv, Diagonal, diagm, kron, transpose, det, eigvals, mul!
using Random: rand, shuffle
using LinearMaps: LinearMap,
using StartUpDG: MeshData, basis, vandermonde, grad_vandermonde, diagE_sbp_nodes, quad_nodes, NodesAndModes.quad_nodes_tri, NodesAndModes.quad_nodes_tet, face_vertices, nodes, num_faces, find_face_nodes, init_face_data, equi_nodes, face_type, Polynomial, jacobiP, match_coordinate_vectors,uniform_mesh, make_periodic, jaskowiec_sukumar_quad_nodes, Hicken, geometric_factors
using StartUpDG: MeshData, basis, vandermonde, grad_vandermonde, diagE_sbp_nodes, quad_nodes, NodesAndModes.quad_nodes_tri, NodesAndModes.quad_nodes_tet, face_vertices, nodes, num_faces, find_face_nodes, init_face_data, equi_nodes, face_type, Polynomial, jacobiP, match_coordinate_vectors,uniform_mesh, make_periodic, jaskowiec_sukumar_quad_nodes, Hicken, geometric_factors, MultidimensionalQuadrature
using Jacobi: zgrjm, wgrjm, zgj, wgj, zglj, wglj

using ..MatrixFreeOperators
Expand Down
9 changes: 6 additions & 3 deletions src/SpatialDiscretizations/tensor_cartesian.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ function ReferenceApproximation(
mapping_degree::Int=1, N_plot::Int=10,
volume_quadrature_rule=LGLQuadrature(approx_type.p))

reference_element = RefElemData(Line(), mapping_degree,
reference_element = RefElemData(Line(),
Polynomial{MultidimensionalQuadrature}(), mapping_degree,
quad_rule_vol=quadrature(Line(), volume_quadrature_rule), Nplot=N_plot)

(; rp, rq, rstq, rf, rstf) = reference_element
Expand Down Expand Up @@ -37,7 +38,8 @@ function ReferenceApproximation(approx_type::NodalTensor,
R_R = OctavianMap(vandermonde(Line(), q, [1.0]) / VDM_1D)

# reference element data
reference_element = RefElemData(element_type, mapping_degree,
reference_element = RefElemData(element_type,
Polynomial{MultidimensionalQuadrature}(), mapping_degree,
quad_rule_vol=quadrature(Quad(), volume_quadrature_rule),
quad_rule_face=quadrature(Line(), facet_quadrature_rule), Nplot=N_plot)

Expand Down Expand Up @@ -74,7 +76,8 @@ function ReferenceApproximation(approx_type::NodalTensor, ::Hex;
I_1D = LinearMap(I, q+1)

# reference element data
reference_element = RefElemData(Hex(), mapping_degree,
reference_element = RefElemData(Hex(),
Polynomial{MultidimensionalQuadrature}(), mapping_degree,
quad_rule_vol=quadrature(Hex(), volume_quadrature_rule),
quad_rule_face=quadrature(Quad(), facet_quadrature_rule), Nplot=N_plot)

Expand Down

0 comments on commit bd5bde2

Please sign in to comment.