Closed Fuad-HH closed 1 week ago
Thank you. Does this support 2d and/or 3d meshes? Are there any tests available?
Yes, as the original search_mesh
function, it supports both 2D and 3D. Actually, this is exactly the original search_mesh
method except what it did when particles reach element boundaries is encapsulated in the functor that is passed in the new particle_search
method. There are two test cases (search_adj_2d and search_adj_3d) that use the search_mesh
method for 2D and 3D searches. It tests the search_mesh
method and it is passing.
@Fuad-HH is #128 ready as well? That has the unit tests you put in place for all of the component functions of search_mesh
correct?
I have added a brief description for renamed trace_particle_through_mesh
. Does the description look good?
There shouldn't be any merge conflict, but it's showing an "empty" line coming from master
.
This new
particle_search
method allows passing a functor that takes all the necessary objects it wants to handle. It is run every time the particle reaches an element boundary or its destination i.e. after every call offind_exit_face
. It will allow various things including handling different boundary conditions, recording information, etc.