Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
ogs
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Özgür Ozan Sen
ogs
Commits
6381fca6
Commit
6381fca6
authored
10 years ago
by
Norihiro Watanabe
Browse files
Options
Downloads
Patches
Plain Diff
move n_face of 2D elements to FaceRule
parent
58ae9c19
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
MeshLib/Elements/FaceRule.h
+2
-2
2 additions, 2 deletions
MeshLib/Elements/FaceRule.h
MeshLib/Elements/QuadRule4.h
+0
-3
0 additions, 3 deletions
MeshLib/Elements/QuadRule4.h
MeshLib/Elements/TriRule3.h
+0
-3
0 additions, 3 deletions
MeshLib/Elements/TriRule3.h
with
2 additions
and
8 deletions
MeshLib/Elements/FaceRule.h
+
2
−
2
View file @
6381fca6
...
...
@@ -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 */
...
...
This diff is collapsed.
Click to expand it.
MeshLib/Elements/QuadRule4.h
+
0
−
3
View file @
6381fca6
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
MeshLib/Elements/TriRule3.h
+
0
−
3
View file @
6381fca6
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment