Skip to content

Commit

Permalink
NEM_SLICE: E_Type to ElementType and make enum class
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed Oct 1, 2024
1 parent 5fb4b0c commit bf5607f
Show file tree
Hide file tree
Showing 8 changed files with 358 additions and 351 deletions.
32 changes: 16 additions & 16 deletions packages/seacas/applications/nem_slice/elb.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,22 +214,22 @@ struct Weight_Description
/* Structure used to store information about the FEM mesh */
template <typename INT> struct Mesh_Description
{
size_t num_nodes{0};
size_t num_elems{0};
size_t num_dims{0};
size_t num_el_blks{0};
std::vector<INT> eb_cnts{};
std::vector<INT> eb_ids{};
std::vector<INT> eb_npe{};
std::vector<E_Type> eb_type{};
size_t num_node_sets{0};
size_t num_side_sets{0};
size_t max_np_elem{0};
size_t ns_list_len{0};
char title[MAX_LINE_LENGTH + 1]{};
std::vector<float> coords{};
std::vector<E_Type> elem_type{};
INT **connect;
size_t num_nodes{0};
size_t num_elems{0};
size_t num_dims{0};
size_t num_el_blks{0};
std::vector<INT> eb_cnts{};
std::vector<INT> eb_ids{};
std::vector<INT> eb_npe{};
std::vector<ElementType> eb_type{};
size_t num_node_sets{0};
size_t num_side_sets{0};
size_t max_np_elem{0};
size_t ns_list_len{0};
char title[MAX_LINE_LENGTH + 1]{};
std::vector<float> coords{};
std::vector<ElementType> elem_type{};
INT **connect;

Mesh_Description() : connect(nullptr) {}
};
Expand Down
Loading

0 comments on commit bf5607f

Please sign in to comment.