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
bfc13f65
Commit
bfc13f65
authored
8 years ago
by
Christoph Lehmann
Browse files
Options
Downloads
Patches
Plain Diff
[MeL] mesh can be axially symmetric
parent
fc396b70
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshLib/Mesh.h
+12
-0
12 additions, 0 deletions
MeshLib/Mesh.h
with
12 additions
and
0 deletions
MeshLib/Mesh.h
+
12
−
0
View file @
bfc13f65
...
@@ -125,6 +125,16 @@ public:
...
@@ -125,6 +125,16 @@ public:
MeshLib
::
Properties
&
getProperties
()
{
return
_properties
;
}
MeshLib
::
Properties
&
getProperties
()
{
return
_properties
;
}
MeshLib
::
Properties
const
&
getProperties
()
const
{
return
_properties
;
}
MeshLib
::
Properties
const
&
getProperties
()
const
{
return
_properties
;
}
bool
isAxiallySymmetric
()
const
{
return
_is_axially_symmetric
;
}
void
setAxiallySymmetric
(
bool
is_axial_symmetric
)
{
_is_axially_symmetric
=
is_axial_symmetric
;
if
(
_is_axially_symmetric
&&
getDimension
()
!=
2
)
{
OGS_FATAL
(
"Axial symmetry is implemented only for two-dimensional "
"meshes."
);
}
}
protected
:
protected
:
/// Set the minimum and maximum length over the edges of the mesh.
/// Set the minimum and maximum length over the edges of the mesh.
void
calcEdgeLengthRange
();
void
calcEdgeLengthRange
();
...
@@ -163,6 +173,8 @@ protected:
...
@@ -163,6 +173,8 @@ protected:
std
::
vector
<
Element
*>
_elements
;
std
::
vector
<
Element
*>
_elements
;
std
::
size_t
_n_base_nodes
;
std
::
size_t
_n_base_nodes
;
Properties
_properties
;
Properties
_properties
;
bool
_is_axially_symmetric
=
false
;
};
/* class */
};
/* class */
...
...
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