12#ifndef BELFEM_CL_CUTFACTORY_HPP
13#define BELFEM_CL_CUTFACTORY_HPP
53 const bool mUseEnrichment ;
72 Homology * mRelativeHomology = nullptr ;
94 bool mSuggestHomologies = true ;
97 bool mUsePoissonInsteadOfRcm = false ;
109 const bool aUseEnrichment );
214 const index_t aNumMeshCurves );
251 return mThinShellBoundaryIDs ;
259 return mTemporaryThinShellSidesets( aID )->facets();
267 return mThinShellMasterNodes ;
275 return mThinShellSlaveNodes ;
284 link_node_duplicates_and_originals();
289 collect_orphan_nodes();
293 collect_nodes_and_elements_on_blocks(
301 compute_rcm_problem();
306 compute_cohomologies();
311 compute_thin_cuts_and_duplicate_interface_nodes();
316 restore_thin_shell_sidesets();
321 write_debug_cohomology(
Homology * aSuggestedHomology ) ;
326 create_curves_for_thinshells();
329 create_side_curves_for_thinshells_3d();
337 check_element_types() ;
343 save_edges(
const uint aIndex );
349 create_cut_sideset_2d(
358 create_cut_sideset_3d(
368 flag_nodes_and_facets_of_tape_sidesets(
Cell< Node * > & aNodes ) ;
378 connect_facet_to_slave(
Facet * aFacet );
383 unflag_symmetry_sidesets();
388 compute_element_adjacencies();
393 compute_poisson_problem();
A bounds-checked wrapper around std::vector.
Definition cl_Cell.hpp:45
Hash map (unordered key-value).
Definition cl_Map.hpp:75
Top-level container for all mesh entities.
Definition cl_Mesh.hpp:60
Computes the cohomology groups H^k of a mesh complex.
Definition cl_Cohomology.hpp:37
Definition cl_Curve.hpp:27
void set_periodicity(PeriodicityFactory *aPeriodicFactory)
Definition cl_CutFactory.cpp:103
Cell< Node * > & abstract_nodes()
Definition cl_CutFactory.cpp:2363
void orient_terminal_curves_sub(SideSet *aSideSet, Vector< real > &aWorkA, Vector< real > &aWorkB, Vector< real > &aN)
Definition cl_CutFactory.cpp:1813
void duplicate_and_relink_facets()
Definition cl_CutFactory.cpp:1485
Vector< id_t > & thin_shell_boundaries()
Definition cl_CutFactory.hpp:249
Cell< Node * > & orphaned_nodes()
Definition cl_CutFactory.cpp:2371
static void refuse_closed_side_curve_sharing_nodes(Mesh *aMesh, Cell< Protoshell * > &aShells, const index_t aNumMeshCurves)
Refuses a geometrically closed side curve of any shell in aShells that shares a node with a terminal ...
Definition cl_CutFactory.cpp:2013
Cell< Node * > & thin_shell_master_nodes()
Definition cl_CutFactory.hpp:265
void orient_terminal_curves()
Definition cl_CutFactory.cpp:1757
static void close_terminal_loop(Curve *aCurve, const Cell< Node * > &aDuplicates, id_t &aMaxID)
Closes one terminal curve into a loop.
Definition cl_CutFactory.cpp:1589
CutFactory(Mesh *aMesh, Topology *aTopology, Cell< Protoshell * > &aProtoshells, const CutAlgorithm aAlgorithm, const bool aUseEnrichment)
Definition cl_CutFactory.cpp:42
void duplicate_nodes_on_face_sidesets()
Definition cl_CutFactory.cpp:1181
void relink_non_thinshell_facets()
Definition cl_CutFactory.cpp:1537
void orient_terminal_curves_2D()
Gives every 2-D terminal curve the counter-clockwise sense about +z around its tape.
Definition cl_CutFactory.cpp:1853
void run()
Definition cl_CutFactory.cpp:111
void set_terminals(const Cell< Cell< id_t > > &aTerminals, const Cell< id_t > &aThinShellIndices)
Definition cl_CutFactory.cpp:95
Cell< Facet * > & thin_shell_facets(const id_t aID)
Definition cl_CutFactory.hpp:257
Cell< Node * > & thin_shell_slave_nodes()
Definition cl_CutFactory.hpp:273
void relink_slave_elements_with_duplicate_nodes()
Definition cl_CutFactory.cpp:1406
bool create_thin_shell_cuts()
Definition cl_CutFactory.cpp:1134
void close_terminal_loops()
Definition cl_CutFactory.cpp:1575
void save_curve_debug_meshes()
Definition cl_CutFactory.cpp:2564
Lagrange Element baseclass.
Definition cl_Element.hpp:35
Definition cl_Facet.hpp:24
Computes the homology groups H_k of a mesh complex.
Definition cl_Homology.hpp:36
Creates a Periodicity object by matching nodes on two periodic boundary planes.
Definition cl_Mesh_PeriodicityFactory.hpp:34
Definition cl_SideSet.hpp:29
Simplicial complex reduction engine underlying the homology and cohomology computation.
Definition cl_SimplicialComplex.hpp:37
Analyzes and classifies mesh topology for finite element simulations.
Definition cl_Topology.hpp:44
Definition cl_EF_EdgeFunction.hpp:24
CutAlgorithm
Definition en_CutAlgorithm.hpp:22
USER GUIDES:
Definition cl_Capacitor.cpp:16
unsigned int uint
Definition typedefs.hpp:30
unsigned int id_t
Definition typedefs.hpp:41
int proc_t
Definition commtypes.hpp:29
ElementType
Element types.
Definition Mesh_Enums.hpp:27
uint32_t index_t
Definition typedefs.hpp:52