From 1f3b01f7243a3725d48d5136c12dadde983bd063 Mon Sep 17 00:00:00 2001 From: Luke Morris <70283489+lukem12345@users.noreply.github.com> Date: Thu, 16 May 2024 20:01:04 -0400 Subject: [PATCH] Always check if a mesh is manifold like --- src/simulation.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/simulation.jl b/src/simulation.jl index b428285f..e7c6546d 100644 --- a/src/simulation.jl +++ b/src/simulation.jl @@ -568,6 +568,7 @@ function gensim(user_d::AbstractNamedDecapode, input_vars; dimension::Int=2, sta quote function simulate(mesh, operators, hodge=GeometricHodge()) + is_manifold_like(mesh) || error("The given mesh is not manifold-like. https://algebraicjulia.github.io/CombinatorialSpaces.jl/dev/simplicial_sets/#CombinatorialSpaces.SimplicialSets.is_manifold_like-Tuple{AbstractDeltaSet1D}") $func_defs $cont_defs $vect_defs