IOSS 2.0
Loading...
Searching...
No Matches
Ioss_DynamicTopology.h
Go to the documentation of this file.
1// Copyright(C) 2024 National Technology & Engineering Solutions
2// of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3// NTESS, the U.S. Government retains certain rights in this software.
4//
5// See packages/seacas/LICENSE for details
6
7#pragma once
8
9namespace Ioss {
10
11 /*! The TopologyModified enumeration is used as an argument to the
12 * topology_modified() functions in io to
13 * specify the type of topology modification that has occurred. The
14 * calls to topology_modified() are cumulative between
15 * output steps, so a call with TOPOLOGY_REORDER followed by a call
16 * with TOPOLOGY_SHUFFLE will do the right thing. Typical examples
17 * of when these would be used are:
18 * - TOPOLOGY_SAME: No change, but easier to call function than not.
19 * - TOPOLOGY_REORDER: Element Death which reorders the Registrars
20 * - TOPOLOGY_SHUFFLE: Load Balancing
21 * - TOPOLOGY_HADAPT: H-Adaptivity
22 * - TOPOLOGY_GHOST: Ghost nodes/edges/faces/elements created/destroyed
23 * - TOPOLOGY_GEOMETRY: Model data is modified, overlap removal.
24 * - TOPOLOGY_CREATEDELETE: Surface erosion, particle creation
25 * - TOPOLOGY_UNKNOWN: Something else, catchall option.
26 */
28 TOPOLOGY_SAME = (0), //!< No change, also used for initialization
30 (1U << 0), //!< Data structures reordered on processor, no change between procs.
31 TOPOLOGY_SHUFFLE = (1U << 1), //!< Globally the same, data moved among processors.
32 TOPOLOGY_HADAPT = (1U << 2), //!< Elements split/combined; not moved cross-proc
33 TOPOLOGY_GHOST = (1U << 3), //!< Ghost entities created/destroyed
35 (1U << 4), //!< Geometry (mesh coordinates) modified. Restart needs to know this.
36 TOPOLOGY_CREATEFACE = (1U << 5), //!< Face/Edge are created/deleted.
37 TOPOLOGY_CREATEELEM = (1U << 6), //!< Elements are created/deleted.
38 TOPOLOGY_CREATENODE = (1U << 7), //!< Nodes are created/deleted.
39 TOPOLOGY_CREATEASSEMBLY = (1U << 8), //!< Assemblies are created/deleted.
40 TOPOLOGY_UNKNOWN = (1U << 9), //!< Unknown change, recreate from scratch.
41 TOPOLOGY_AUXILIARY = (1U << 10), //!< An AUXILIARY relation was created/modified.
42 TOPOLOGY_CONSTRAINT = (1U << 11) //!< Contact constraints
43
44 };
45
47
48} // namespace Ioss
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
FileControlOption
Definition Ioss_DynamicTopology.h:46
TopologyModified
Definition Ioss_DynamicTopology.h:27
@ TOPOLOGY_GEOMETRY
Geometry (mesh coordinates) modified. Restart needs to know this.
Definition Ioss_DynamicTopology.h:34
@ TOPOLOGY_SHUFFLE
Globally the same, data moved among processors.
Definition Ioss_DynamicTopology.h:31
@ TOPOLOGY_CREATEASSEMBLY
Assemblies are created/deleted.
Definition Ioss_DynamicTopology.h:39
@ TOPOLOGY_SAME
No change, also used for initialization.
Definition Ioss_DynamicTopology.h:28
@ TOPOLOGY_HADAPT
Elements split/combined; not moved cross-proc.
Definition Ioss_DynamicTopology.h:32
@ TOPOLOGY_CREATEFACE
Face/Edge are created/deleted.
Definition Ioss_DynamicTopology.h:36
@ TOPOLOGY_CREATENODE
Nodes are created/deleted.
Definition Ioss_DynamicTopology.h:38
@ TOPOLOGY_CONSTRAINT
Contact constraints.
Definition Ioss_DynamicTopology.h:42
@ TOPOLOGY_AUXILIARY
An AUXILIARY relation was created/modified.
Definition Ioss_DynamicTopology.h:41
@ TOPOLOGY_GHOST
Ghost entities created/destroyed.
Definition Ioss_DynamicTopology.h:33
@ TOPOLOGY_CREATEELEM
Elements are created/deleted.
Definition Ioss_DynamicTopology.h:37
@ TOPOLOGY_UNKNOWN
Unknown change, recreate from scratch.
Definition Ioss_DynamicTopology.h:40
@ TOPOLOGY_REORDER
Data structures reordered on processor, no change between procs.
Definition Ioss_DynamicTopology.h:29