-
Notifications
You must be signed in to change notification settings - Fork 65
Add MDS adapt option to capVol test #454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
5792912
to
537b4e3
Compare
3d9c856
to
d377593
Compare
Running into problem with empty parts after |
This occurred with the capVol wing case with METIS on 4 procs. Log for mpirun -np 4 ./capVol -gm 3 wing_surf_only.cre out.cre
|
Metis balancing for meshes with empty parts is fixed in #499 |
cd5cb4b
to
18c73b8
Compare
- Add -m option to convert mesh database to MDS during adaptation. This option speeds up adaptation. - This tests the conversion capability. Signed-off-by: Aiden Woodruff <[email protected]>
- Replace writeCre with cs.save_file. - Replace ma::adaptVerbose with ma::adapt (the production version). - Remove ma::Input arguments which are just reinforcing the defaults. - If the defaults chagne we shouldn't force using the old ones. - Don't delete old mesh model before adapting. - Change CapstoneModule name. - Reorder mds mesh after conversion. Signed-off-by: Aiden Woodruff <[email protected]>
- Disable verify() for non-volume meshes. Signed-off-by: Aiden Woodruff <[email protected]>
Signed-off-by: Aiden Woodruff <[email protected]>
- gmi_cap.h: add gmi_cap_probe and gmi_cap_load_some functions. - wrap headers and functions requiring C++ into #ifdef __cplusplus. - remove using namespace declarations. - add import with gmodel. - gmi_cap.cc: add using namespace CreateMG. - add Geometry namespace to enums (i.e. VERTEX, EDGE, FACE, REGION). - add gmodel to struct cap_model. - use reinterpret_cast instead of C-style casts. - (gmi_cap_start): handle initialization of static capstonemodule. - (gmi_cap_stop): destruct static capstone module. - (create_cre): uncomment function. - (gmi_cap_probe): add short overload to just get mesh names. - add long overload to get model and mesh contents. - (gmi_register_cap): register create_cre for gmi_load. - (owned_import): uncomment function. - (gmi_cap_load): call gmi_cap_load_some with all mesh names. - (gmi_cap_load_some): add new function to only load specific mesh names. - (gmi_import_cap): add overload to use current geometry. - replace PCU_ALWAYS_ASSERT with if statement and gmi_fail. - test/capLoadSome.cc: add utility to test gmi_cap_load_some. - test/capProbe.cc: add utility to test gmi_cap_probe. - test/CMakeLists.txt: add capLoadSome and capProbe. Signed-off-by: Aiden Woodruff <[email protected]>
- gmi_cap/CMakeLists.txt: update link libraries. - gmi_cap/gmi_cap.h: add function documentation. - add doxygen group Signed-off-by: Aiden Woodruff <[email protected]>
- apf_cap/CMakeLists.txt: - apf_cap/apfCAP.h: move MeshCAP definition to apfCAP.cc. - add function documentation. - (hasCAP): new function. - add copyright notice. - fix #include guard name. - remove namespace using declarations. - forward declare arguments. - remove unnecessary #includes. - (createMesh): rename to createCapMesh. - similar to loadMdsMesh, etc - (createCapMesh): add overload using existing gmi_model. - (getCapNative): add function to replace MeshCAP::getMesh functionality. - test/cap*: replace createMesh with createCapMesh. - update #includes now that apf_cap doesn't have anything. - remove using namespace CreateMG::*. - prefer MDBI/GDBI to long names. - apf_cap/apfCAP.cc: reorganize #includes. - add using namespace CreateMG and alias commonly used CreateMG::Mesh (which would also conflict with apf::Mesh). - (hasCAP): add definition. - (MeshCAP): add class definition from apfCAP.h - add ownership of mesh database interface in case we use the gmi_model createCapMesh. - (MeshCAP::MeshCAP): use Capstone get_dimension. - add MeshMG:: namespace where needed. - light reformatting. - (createMesh): remove unused function (with non-existent capMesh* type). - (castEntity): remove unused function. Signed-off-by: Aiden Woodruff <[email protected]>
- gmi_cap/gmi_cap.h: add gmi_cap_write. - gmi_cap/gmi_cap.cc (gmi_cap_write): add function to write native capstone CRE file. - apf_cap/apfCAP.h: add createCapMesh with no mesh name to load first Capstone mesh model. - remove trailing whitespace. - add generateCapMesh to generate meshes. - add makeEmptyCapMesh for copying. - add disownCapModel like disownMdsModel. - apf_cap/apfCAP.cc: add AppProcessor for Functions. - (MeshCAP): add setupAdjacencies helper and model ownership boolean. - (MeshCAP::setupAdjacencies): always setup complete adjacencies. - (MeshCAP::MeshCAP): use setupAdjacencies. - (MeshCAP::~MeshCAP): only destroy model if owned. - add new CreateCapMesh, makeEmptyMesh, generateCapMesh, disownCapModel function definitions. - test/capVol: reorganize #includes. - use exceptions and add new Args class. - add extensive help text with raw string literal. - refactor main into functions. - add before/after vtk flags. - add flag to force splitter/balancer. - test/testing.cmake: reduce capVol test cases without new flag. Signed-off-by: Aiden Woodruff <[email protected]>
- test/capVolSizeFields.h (CylBoundaryLayer): use ma::getBoundingBox which does PCU::Max. Signed-off-by: Aiden Woodruff <[email protected]>
- test/testing.cmake: add parallel capVol cases. Signed-off-by: Aiden Woodruff <[email protected]>
18c73b8
to
d92206b
Compare
Add MDS adapt option to capVol test
-m
flag to convert mesh to MDS during adapt and back to CRE afterward.ma::adapt
instead ofma::adaptVerbose
.ma::Input
.cap.*
tests that run with MDS.TODO
ma::adapt
instead ofma::adaptVerbose
.Comparison: