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
Dmitri Naumov
ogs
Commits
43f67600
Commit
43f67600
authored
4 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[PL/BC] Mv method getOrientedSurfaceNormal to private section.
parent
17cb8405
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
ProcessLib/BoundaryCondition/HCNonAdvectiveFreeComponentFlowBoundaryConditionLocalAssembler.h
+8
-10
8 additions, 10 deletions
...vectiveFreeComponentFlowBoundaryConditionLocalAssembler.h
with
8 additions
and
10 deletions
ProcessLib/BoundaryCondition/HCNonAdvectiveFreeComponentFlowBoundaryConditionLocalAssembler.h
+
8
−
10
View file @
43f67600
...
@@ -55,16 +55,6 @@ public:
...
@@ -55,16 +55,6 @@ public:
{
{
}
}
Eigen
::
Vector3d
getOrientedSurfaceNormal
(
MeshLib
::
Element
const
&
e
)
{
// At the moment (2016-09-28) the surface normal is not oriented
// according to the right hand rule
// for correct results it is necessary to multiply the normal with -1
auto
const
surface_element_normal
=
-
MeshLib
::
FaceRule
::
getSurfaceNormal
(
&
e
).
normalized
();
return
surface_element_normal
;
}
void
assemble
(
std
::
size_t
const
mesh_item_id
,
void
assemble
(
std
::
size_t
const
mesh_item_id
,
NumLib
::
LocalToGlobalIndexMap
const
&
dof_table_boundary
,
NumLib
::
LocalToGlobalIndexMap
const
&
dof_table_boundary
,
double
const
t
,
std
::
vector
<
GlobalVector
*>
const
&
x
,
double
const
t
,
std
::
vector
<
GlobalVector
*>
const
&
x
,
...
@@ -111,6 +101,14 @@ public:
...
@@ -111,6 +101,14 @@ public:
}
}
private
:
private
:
Eigen
::
Vector3d
getOrientedSurfaceNormal
(
MeshLib
::
Element
const
&
e
)
{
// At the moment (2016-09-28) the surface normal is not oriented
// according to the right hand rule
// for correct results it is necessary to multiply the normal with -1
return
-
MeshLib
::
FaceRule
::
getSurfaceNormal
(
&
e
).
normalized
();
}
HCNonAdvectiveFreeComponentFlowBoundaryConditionData
const
&
_data
;
HCNonAdvectiveFreeComponentFlowBoundaryConditionData
const
&
_data
;
std
::
size_t
const
_local_matrix_size
;
std
::
size_t
const
_local_matrix_size
;
Eigen
::
Vector3d
const
_surface_normal
;
Eigen
::
Vector3d
const
_surface_normal
;
...
...
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