Skip to content
Snippets Groups Projects
Commit 6381fca6 authored by Norihiro Watanabe's avatar Norihiro Watanabe
Browse files

move n_face of 2D elements to FaceRule

parent 58ae9c19
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ public:
/// Get the number of nodes for face i.
static unsigned getNFaceNodes(unsigned /*i*/) { return 2; }
/// 2D elements have no faces.
static unsigned getNFaces() { return 0; }
/// Constant: The number of faces
static const unsigned n_faces = 0;
}; /* class */
} /* namespace */
......
......@@ -49,9 +49,6 @@ public:
/// Constant: The FEM type of the element
static const CellType cell_type = CellType::QUAD4;
/// Constant: The number of faces
static const unsigned n_faces = 0;
/// Constant: The number of edges
static const unsigned n_edges = 4;
......
......@@ -50,9 +50,6 @@ public:
/// Constant: The FEM type of the element
static const CellType cell_type = CellType::TRI3;
/// Constant: The number of faces
static const unsigned n_faces = 0;
/// Constant: The number of edges
static const unsigned n_edges = 3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment