You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example file seems to be outdated: complex_shape_3d #1307
When running: trixi_include(joinpath(examples_dir(), "preprocessing", "complex_shape_3d.jl"))
this is error message is generated:
ERROR: LoadError: MethodError: no method matching ComplexShape(::TrixiParticles.TriangleMesh{…}; particle_spacing::Float64, density::Float64, boundary_thickness::Float64, create_signed_distance_field::Bool, sample_boundary::Bool, point_in_geometry_algorithm::WindingNumberJacobson{…})
This method does not support all of the given keyword arguments (and may not support any).
Closest candidates are:
ComplexShape(::Any; particle_spacing, density, pressure, mass, velocity, point_in_geometry_algorithm, store_winding_number, grid_offset, max_nparticles, pad_initial_particle_grid) got unsupported keyword arguments "boundary_thickness", "create_signed_distance_field", "sample_boundary"
@ TrixiParticles /share/szitz/TrixiParticles.jl/src/setups/complex_shape.jl:44
It does not work either if one comments out boundary_thickness, create_signed_distance_field and sample_boundary.
Thanks for catching that. #1308 fixes it. If you need the signed distance field, you can comment it out. If you need the particles packed, you can run the file packing_3d.jl
Activity
LasNikas commentedon Sep 2, 2026
Thanks for catching that. #1308 fixes it. If you need the signed distance field, you can comment it out. If you need the particles packed, you can run the file
packing_3d.jl