-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
enhancementmesh adaptTopics related to mesh adapt (straight-sided or curved)Topics related to mesh adapt (straight-sided or curved)
Description
For MeshAdapt we would like to know how many mesh modification operations occur. The feature should allow for breakdowns by major step (refine, coarsen, snap, fix) or a summary. For efficiency, I also think it should be compiled conditionally (CMake, pre-processor macro, function to query support).
- Add a field to ma::Input. If it's requested without support, we print a warning and continue with MeshAdapt.
- Add counters to all MeshAdapt routines that use mesh modification operators.
- Since we have to track this information and pass it around, it might be good to make an object (say
ma::Statsorma::MeshModStats) that is public and can be returned to the user byma::adapt. It could be added as a member ofma::Adaptclass that's already passed around.
- Since we have to track this information and pass it around, it might be good to make an object (say
- Return an object or print statistics.
- An object is better if people need to use it, but it might be annoying if people just want to print the data every time and that's it. Might be best to create an object for the duration of MeshAdapt, print the stats, and destroy it. Gets the job done now and if someone wants the full object later on a patch is easy.
Metadata
Metadata
Assignees
Labels
enhancementmesh adaptTopics related to mesh adapt (straight-sided or curved)Topics related to mesh adapt (straight-sided or curved)