IOSS  2.0
Ioss_Hex27.h
Go to the documentation of this file.
1 // Copyright(C) 1999-2020 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 #ifndef IOSS_Ioss_Hex27_h
8 #define IOSS_Ioss_Hex27_h
9 
10 #include <Ioss_CodeTypes.h> // for IntVector
11 #include <Ioss_ElementTopology.h> // for ElementTopology
12 
13 // STL Includes
14 
15 namespace Ioss {
17  {
18 
19  public:
20  static const char *name;
21 
22  static void factory();
23  ~Hex27() override;
24 
25  ElementShape shape() const override { return ElementShape::HEX; }
26  int spatial_dimension() const override;
27  int parametric_dimension() const override;
28  bool is_element() const override { return true; }
29  int order() const override;
30 
31  int number_corner_nodes() const override;
32  int number_nodes() const override;
33  int number_edges() const override;
34  int number_faces() const override;
35 
36  int number_nodes_edge(int edge = 0) const override;
37  int number_nodes_face(int face = 0) const override;
38  int number_edges_face(int face = 0) const override;
39 
40  Ioss::IntVector edge_connectivity(int edge_number) const override;
41  Ioss::IntVector face_connectivity(int face_number) const override;
42  Ioss::IntVector element_connectivity() const override;
43 
44  Ioss::IntVector face_edge_connectivity(int face_number) const override;
45 
46  Ioss::ElementTopology *face_type(int face_number = 0) const override;
47  Ioss::ElementTopology *edge_type(int edge_number = 0) const override;
48 
49  protected:
50  Hex27();
51 
52  private:
53  static Hex27 instance_;
54 
55  Hex27(const Hex27 &) = delete;
56  };
57 } // namespace Ioss
58 #endif
Ioss::Hex27::face_type
Ioss::ElementTopology * face_type(int face_number=0) const override
Definition: Ioss_Hex27.C:138
Ioss::Hex27::is_element
bool is_element() const override
Definition: Ioss_Hex27.h:28
Ioss::Hex27::face_edge_connectivity
Ioss::IntVector face_edge_connectivity(int face_number) const override
Definition: Ioss_Hex27.C:159
Ioss::Hex27::parametric_dimension
int parametric_dimension() const override
Definition: Ioss_Hex27.C:80
Ioss::IntVector
std::vector< int > IntVector
Definition: Ioss_CodeTypes.h:25
Ioss::Hex27::shape
ElementShape shape() const override
Definition: Ioss_Hex27.h:25
Ioss::Hex27::number_nodes_edge
int number_nodes_edge(int edge=0) const override
Definition: Ioss_Hex27.C:89
Ioss::Hex27::~Hex27
~Hex27() override
Ioss::Hex27::edge_type
Ioss::ElementTopology * edge_type(int edge_number=0) const override
Definition: Ioss_Hex27.C:149
Ioss
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:40
Ioss::Hex27::number_edges
int number_edges() const override
Definition: Ioss_Hex27.C:86
Ioss::Hex27::Hex27
Hex27()
Definition: Ioss_Hex27.C:73
Ioss::Hex27::face_connectivity
Ioss::IntVector face_connectivity(int face_number) const override
Definition: Ioss_Hex27.C:117
Ioss::ElementShape::UNKNOWN
@ UNKNOWN
Ioss::Hex27::factory
static void factory()
Definition: Ioss_Hex27.C:67
Ioss::Hex27::spatial_dimension
int spatial_dimension() const override
Definition: Ioss_Hex27.C:81
Ioss::Hex27::number_edges_face
int number_edges_face(int face=0) const override
Definition: Ioss_Hex27.C:98
Ioss::Hex27::element_connectivity
Ioss::IntVector element_connectivity() const override
Definition: Ioss_Hex27.C:129
Ioss::Hex27::Hex27
Hex27(const Hex27 &)=delete
Ioss::Hex27::number_nodes_face
int number_nodes_face(int face=0) const override
Definition: Ioss_Hex27.C:91
Ioss::Hex27::name
static const char * name
Definition: Ioss_Hex27.h:20
Ioss::Hex27::number_nodes
int number_nodes() const override
Definition: Ioss_Hex27.C:85
Ioss::Hex27::order
int order() const override
Definition: Ioss_Hex27.C:82
Ioss::ElementTopology
Represents an element topology.
Definition: Ioss_ElementTopology.h:47
Ioss::Hex27::instance_
static Hex27 instance_
Definition: Ioss_Hex27.h:53
Ioss::Hex27::number_corner_nodes
int number_corner_nodes() const override
Definition: Ioss_Hex27.C:84
Ioss::ElementShape
ElementShape
Definition: Ioss_ElementTopology.h:19
Ioss::Hex27::number_faces
int number_faces() const override
Definition: Ioss_Hex27.C:87
Ioss::Hex27
Definition: Ioss_Hex27.h:17
Ioss_CodeTypes.h
Ioss_ElementTopology.h
Ioss::Hex27::edge_connectivity
Ioss::IntVector edge_connectivity(int edge_number) const override
Definition: Ioss_Hex27.C:105