libMesh
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
libMesh::MeshBase::Preparation Struct Reference

Flags indicating in what ways a mesh has been prepared for use. More...

#include <mesh_base.h>

Public Member Functions

 Preparation ()
 Constructor.
 
 operator bool () const
 Returns true iff all the flags are true.
 
Preparationoperator= (bool set_all)
 Set all flags to the "set_all" value.
 
bool operator== (const Preparation &other) const
 Two Preparation objects are equivalent iff all the flags match, regardless of the true/false status of any given flag.
 
bool operator!= (const Preparation &other) const
 

Public Attributes

bool is_partitioned
 
bool has_synched_id_counts
 
bool has_neighbor_ptrs
 
bool has_cached_elem_data
 
bool has_interior_parent_ptrs
 
bool has_removed_remote_elements
 
bool has_removed_orphaned_nodes
 
bool has_boundary_id_sets
 
bool has_reinit_ghosting_functors
 
bool has_synched_subdomain_name_map
 

Detailed Description

Flags indicating in what ways a mesh has been prepared for use.

Definition at line 2079 of file mesh_base.h.

Constructor & Destructor Documentation

◆ Preparation()

libMesh::MeshBase::Preparation::Preparation ( )

Constructor.

Initializes all flags to false.

Definition at line 2843 of file mesh_base.C.

Member Function Documentation

◆ operator bool()

libMesh::MeshBase::Preparation::operator bool ( ) const
explicit

Returns true iff all the flags are true.

Definition at line 2856 of file mesh_base.C.

◆ operator!=()

bool libMesh::MeshBase::Preparation::operator!= ( const Preparation other) const

Definition at line 2915 of file mesh_base.C.

2916{
2917 return !(*this == other);
2918}

◆ operator=()

MeshBase::Preparation & libMesh::MeshBase::Preparation::operator= ( bool  set_all)

Set all flags to the "set_all" value.

Definition at line 2871 of file mesh_base.C.

2872{
2873 is_partitioned = set_all;
2874 has_synched_id_counts = set_all;
2875 has_neighbor_ptrs = set_all;
2876 has_cached_elem_data = set_all;
2877 has_interior_parent_ptrs = set_all;
2881 has_boundary_id_sets = set_all;
2883
2884 return *this;
2885}

◆ operator==()

bool libMesh::MeshBase::Preparation::operator== ( const Preparation other) const

Two Preparation objects are equivalent iff all the flags match, regardless of the true/false status of any given flag.

Definition at line 2888 of file mesh_base.C.

2889{
2890 if (is_partitioned != other.is_partitioned)
2891 return false;
2892 if (has_synched_id_counts != other.has_synched_id_counts)
2893 return false;
2894 if (has_neighbor_ptrs != other.has_neighbor_ptrs)
2895 return false;
2896 if (has_cached_elem_data != other.has_cached_elem_data)
2897 return false;
2898 if (has_interior_parent_ptrs != other.has_interior_parent_ptrs)
2899 return false;
2900 if (has_removed_remote_elements != other.has_removed_remote_elements)
2901 return false;
2902 if (has_removed_orphaned_nodes != other.has_removed_orphaned_nodes)
2903 return false;
2904 if (has_reinit_ghosting_functors != other.has_reinit_ghosting_functors)
2905 return false;
2906 if (has_boundary_id_sets != other.has_boundary_id_sets)
2907 return false;
2908 if (has_synched_subdomain_name_map != other.has_synched_subdomain_name_map)
2909 return false;
2910
2911 return true;
2912}

References has_boundary_id_sets, has_cached_elem_data, has_interior_parent_ptrs, has_neighbor_ptrs, has_reinit_ghosting_functors, has_removed_orphaned_nodes, has_removed_remote_elements, has_synched_id_counts, has_synched_subdomain_name_map, and is_partitioned.

Member Data Documentation

◆ has_boundary_id_sets

bool libMesh::MeshBase::Preparation::has_boundary_id_sets

◆ has_cached_elem_data

bool libMesh::MeshBase::Preparation::has_cached_elem_data

◆ has_interior_parent_ptrs

bool libMesh::MeshBase::Preparation::has_interior_parent_ptrs

◆ has_neighbor_ptrs

bool libMesh::MeshBase::Preparation::has_neighbor_ptrs

◆ has_reinit_ghosting_functors

bool libMesh::MeshBase::Preparation::has_reinit_ghosting_functors

◆ has_removed_orphaned_nodes

bool libMesh::MeshBase::Preparation::has_removed_orphaned_nodes

◆ has_removed_remote_elements

bool libMesh::MeshBase::Preparation::has_removed_remote_elements

◆ has_synched_id_counts

bool libMesh::MeshBase::Preparation::has_synched_id_counts

◆ has_synched_subdomain_name_map

bool libMesh::MeshBase::Preparation::has_synched_subdomain_name_map

◆ is_partitioned

bool libMesh::MeshBase::Preparation::is_partitioned

The documentation for this struct was generated from the following files: