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
c155d277
Commit
c155d277
authored
6 years ago
by
Tom Fischer
Browse files
Options
Downloads
Patches
Plain Diff
[PL/ConstraintDirichletBC] _bulk_face_id isn't needed anymore.
parent
2f8cd6c3
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/ConstraintDirichletBoundaryConditionLocalAssembler.h
+3
-4
3 additions, 4 deletions
...tion/ConstraintDirichletBoundaryConditionLocalAssembler.h
with
3 additions
and
4 deletions
ProcessLib/BoundaryCondition/ConstraintDirichletBoundaryConditionLocalAssembler.h
+
3
−
4
View file @
c155d277
...
@@ -84,8 +84,7 @@ public:
...
@@ -84,8 +84,7 @@ public:
std
::
vector
<
std
::
pair
<
std
::
size_t
,
unsigned
>>
bulk_ids
)
std
::
vector
<
std
::
pair
<
std
::
size_t
,
unsigned
>>
bulk_ids
)
:
_surface_element
(
surface_element
),
:
_surface_element
(
surface_element
),
_integration_method
(
integration_order
),
_integration_method
(
integration_order
),
_bulk_element_id
(
bulk_ids
[
_surface_element
.
getID
()].
first
),
_bulk_element_id
(
bulk_ids
[
_surface_element
.
getID
()].
first
)
_bulk_face_id
(
bulk_ids
[
_surface_element
.
getID
()].
second
)
{
{
(
void
)
local_matrix_size
;
// unused, but needed for the interface
(
void
)
local_matrix_size
;
// unused, but needed for the interface
...
@@ -121,6 +120,7 @@ public:
...
@@ -121,6 +120,7 @@ public:
std
::
size_t
const
n_integration_points
=
std
::
size_t
const
n_integration_points
=
_integration_method
.
getNumberOfPoints
();
_integration_method
.
getNumberOfPoints
();
auto
const
bulk_face_id
=
bulk_ids
[
_surface_element
.
getID
()].
second
;
std
::
vector
<
std
::
vector
<
typename
ShapeMatricesType
::
ShapeMatrices
,
typename
ShapeMatricesType
::
ShapeMatrices
,
Eigen
::
aligned_allocator
<
typename
ShapeMatricesType
::
ShapeMatrices
>>
Eigen
::
aligned_allocator
<
typename
ShapeMatricesType
::
ShapeMatrices
>>
...
@@ -137,7 +137,7 @@ public:
...
@@ -137,7 +137,7 @@ public:
auto
const
&
wp
=
_integration_method
.
getWeightedPoint
(
ip
);
auto
const
&
wp
=
_integration_method
.
getWeightedPoint
(
ip
);
auto
bulk_element_point
=
MeshLib
::
getBulkElementPoint
(
auto
bulk_element_point
=
MeshLib
::
getBulkElementPoint
(
bulk_mesh
,
_bulk_element_id
,
_
bulk_face_id
,
wp
);
bulk_mesh
,
_bulk_element_id
,
bulk_face_id
,
wp
);
_ip_data
.
emplace_back
(
shape_matrices
[
ip
].
detJ
,
_ip_data
.
emplace_back
(
shape_matrices
[
ip
].
detJ
,
shape_matrices
[
ip
].
integralMeasure
,
shape_matrices
[
ip
].
integralMeasure
,
wp
.
getWeight
(),
wp
.
getWeight
(),
...
@@ -188,7 +188,6 @@ private:
...
@@ -188,7 +188,6 @@ private:
IntegrationMethod
const
_integration_method
;
IntegrationMethod
const
_integration_method
;
std
::
size_t
const
_bulk_element_id
;
std
::
size_t
const
_bulk_element_id
;
unsigned
const
_bulk_face_id
;
MathLib
::
Vector3
_surface_element_normal
;
MathLib
::
Vector3
_surface_element_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