IOSS 2.0
Loading...
Searching...
No Matches
Ioss_Edge2.h
Go to the documentation of this file.
1// Copyright(C) 1999-2022, 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
9#include "ioss_export.h"
10
11#include "Ioss_CodeTypes.h" // for IntVector
12#include "Ioss_ElementTopology.h" // for ElementTopology
13
14namespace Ioss {
15 class IOSS_EXPORT Edge2 : public Ioss::ElementTopology
16 {
17
18 public:
19 static const char *name;
20
21 static void factory();
22
23 IOSS_NODISCARD ElementShape shape() const override { return ElementShape::LINE; }
24 IOSS_NODISCARD int spatial_dimension() const override;
25 IOSS_NODISCARD int parametric_dimension() const override;
26 IOSS_NODISCARD bool is_shell() const override { return false; }
27 IOSS_NODISCARD int order() const override;
28
29 IOSS_NODISCARD int number_corner_nodes() const override;
30 IOSS_NODISCARD int number_nodes() const override;
31 IOSS_NODISCARD int number_edges() const override;
32 IOSS_NODISCARD int number_faces() const override;
33 IOSS_NODISCARD int number_nodes_edge(int edge = 0) const override;
34 IOSS_NODISCARD int number_nodes_face(int face = 0) const override;
35 IOSS_NODISCARD int number_edges_face(int face = 0) const override;
36
37 IOSS_NODISCARD Ioss::IntVector edge_connectivity(int edge_number) const override;
38 IOSS_NODISCARD Ioss::IntVector face_connectivity(int face_number) const override;
39 IOSS_NODISCARD Ioss::IntVector element_connectivity() const override;
40
41 IOSS_NODISCARD Ioss::ElementTopology *face_type(int face_number = 0) const override;
42 IOSS_NODISCARD Ioss::ElementTopology *edge_type(int edge_number = 0) const override;
43
44 protected:
45 Edge2();
46 };
47} // namespace Ioss
#define IOSS_NODISCARD
Definition Ioss_CodeTypes.h:55
Definition Ioss_Edge2.h:16
IOSS_NODISCARD ElementShape shape() const override
Definition Ioss_Edge2.h:23
static const char * name
Definition Ioss_Edge2.h:19
IOSS_NODISCARD bool is_shell() const override
Definition Ioss_Edge2.h:26
Represents an element topology.
Definition Ioss_ElementTopology.h:68
The main namespace for the Ioss library.
Definition Ioad_DatabaseIO.C:40
ElementShape
Definition Ioss_ElementTopology.h:24
std::vector< int > IntVector
Definition Ioss_CodeTypes.h:21