Salome HOME
feat: new crackAlong method 14/head
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Mon, 27 May 2024 06:20:33 +0000 (08:20 +0200)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Mon, 24 Jun 2024 14:49:56 +0000 (16:49 +0200)
commit3ccbd6672d4cab9ddd873774deb1276b43ccb621
tree98236ec5d26d20adc0e74d1fb37b0ced303a3fcb
parent1b746b38f3cdeae6654a9501f37fde5e56e59288
feat: new crackAlong method

This new method is a more powerfull version of the
buildInnerBoundariesAlongM1Group method because it naturally handle non
connex and complex M1 groups

wip: fix cycling over nodal connectivity

fix shared_ptr<set<int>> allocation

wip: no more memleak !

TODO: for now this method only treat the mesh at level 0. The mesh at
level -1 and the groups lying on it should be taken care of.

wip: Duplicate faces inplace and replace old node number with new ones

wip: removing useless shared_ptr, adding doc

wip: moving duplicateFaces to CrackAlgo.cxx

wip: refactor CrackAlgo and treat elements families

missing node families

feat: functional new duplicateFaces method

fix: changing API and preparing methods for test

feat: separate tests on crackAlong method

wip: using M1 and not Mf

fix: case when cell has no neighbor

feat: test mesh at level -1

This test checks that the crack mesh has twice as many cells than the
starting crack mesh, and that they are both equivalent after merging the
nodes.

wip: fixing connectivity of faces which are not duplicated

fix: manage connectivity of m1 elements touching crack

wip: add python tests

Still figuring out why using M1 non connex group erease the families at lev -2

fix: crackAlong exceptions with boolean param

A boolean is added to change the method behavior in the case when a face
is duplicated but not modified (there is no real separation between
volumes)

feat: new tests and OpenCrack binding

fix: Copy family at lev0 and set them back

Because suprisingly they tend to disapear.

refactor: OpenCrack -> openCrack

fix: remove french comments, better use of stl

refactor: better documentation, less auto, more const
15 files changed:
src/MEDLoader/CMakeLists.txt
src/MEDLoader/CrackAlgo.cxx [new file with mode: 0644]
src/MEDLoader/CrackAlgo.hxx [new file with mode: 0644]
src/MEDLoader/MEDFileMesh.cxx
src/MEDLoader/MEDFileMesh.hxx
src/MEDLoader/Swig/CMakeLists.txt
src/MEDLoader/Swig/CrackAlongTest.py [new file with mode: 0644]
src/MEDLoader/Swig/MEDLoaderCommon.i
src/MEDLoader/Swig/tests.set
src/MEDLoader/Test/CMakeLists.txt
src/MEDLoader/Test/CrackAlgoTest.cxx [new file with mode: 0644]
src/MEDLoader/Test/CrackAlgoTest.hxx [new file with mode: 0644]
src/MEDLoader/Test/MEDLoaderTest.cxx
src/MEDLoader/Test/MEDLoaderTest.hxx
src/MEDLoader/Test/TestMEDLoader.cxx