Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-elasticity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
agnumpde
dune-elasticity
Commits
cf5b0eb0
Commit
cf5b0eb0
authored
2 years ago
by
Patrick Jaap
Browse files
Options
Downloads
Patches
Plain Diff
Rename deprecated getCollectiveCommunication()
See
https://gitlab.dune-project.org/core/dune-common/-/merge_requests/1091
parent
aef47712
Branches
Branches containing commit
No related tags found
1 merge request
!73
Rename deprecated getCollectiveCommunication()
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/elasticity/assemblers/localadolcstiffness.hh
+4
-4
4 additions, 4 deletions
dune/elasticity/assemblers/localadolcstiffness.hh
with
4 additions
and
4 deletions
dune/elasticity/assemblers/localadolcstiffness.hh
+
4
−
4
View file @
cf5b0eb0
...
...
@@ -61,7 +61,7 @@ double LocalADOLCStiffness<LocalView>::
energy
(
const
LocalView
&
localView
,
const
std
::
vector
<
double
>&
localConfiguration
)
const
{
int
rank
=
Dune
::
MPIHelper
::
getCo
llectiveCo
mmunication
().
rank
();
int
rank
=
Dune
::
MPIHelper
::
getCommunication
().
rank
();
double
pureEnergy
;
std
::
vector
<
adouble
>
localAConfiguration
(
localConfiguration
.
size
());
...
...
@@ -96,7 +96,7 @@ assembleGradientAndHessian(const LocalView& localView,
Dune
::
Matrix
<
double
>&
localHessian
)
{
int
rank
=
Dune
::
MPIHelper
::
getCo
llectiveCo
mmunication
().
rank
();
int
rank
=
Dune
::
MPIHelper
::
getCommunication
().
rank
();
// Tape energy computation. We may not have to do this every time, but it's comparatively cheap.
energy
(
localView
,
localConfiguration
);
...
...
@@ -210,7 +210,7 @@ energy(const Entity& element,
const
LocalFiniteElement
&
localFiniteElement
,
const
VectorType
&
localSolution
)
const
{
int
rank
=
Dune
::
MPIHelper
::
getCo
llectiveCo
mmunication
().
rank
();
int
rank
=
Dune
::
MPIHelper
::
getCommunication
().
rank
();
double
pureEnergy
;
std
::
vector
<
Dune
::
FieldVector
<
adouble
,
blocksize
>
>
localASolution
(
localSolution
.
size
());
...
...
@@ -246,7 +246,7 @@ assembleGradientAndHessian(const Entity& element,
const
VectorType
&
localSolution
,
VectorType
&
localGradient
)
{
int
rank
=
Dune
::
MPIHelper
::
getCo
llectiveCo
mmunication
().
rank
();
int
rank
=
Dune
::
MPIHelper
::
getCommunication
().
rank
();
// Tape energy computation. We may not have to do this every time, but it's comparatively cheap.
energy
(
element
,
localFiniteElement
,
localSolution
);
...
...
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