Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dune-amdis
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Praetorius, Simon
dune-amdis
Commits
865d0167
Commit
865d0167
authored
Mar 12, 2019
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shared unique_ptr to shared_ptr for old_solution
parent
d0f28edc
Pipeline
#1807
passed with stage
in 42 minutes and 24 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/amdis/ProblemInstat.hpp
src/amdis/ProblemInstat.hpp
+2
-2
No files found.
src/amdis/ProblemInstat.hpp
View file @
865d0167
...
...
@@ -54,7 +54,7 @@ namespace AMDiS
ProblemType
const
&
problemStat
()
const
{
return
*
problemStat_
;
}
/// Returns const-ref of \ref oldSolution.
std
::
unique
_ptr
<
SystemVector
const
>
oldSolutionVector
()
const
std
::
shared
_ptr
<
SystemVector
const
>
oldSolutionVector
()
const
{
test_exit_dbg
(
bool
(
oldSolution_
),
"OldSolution need to be created. Call initialize with INIT_UH_OLD."
);
...
...
@@ -81,7 +81,7 @@ namespace AMDiS
ProblemType
*
problemStat_
;
/// Solution of the last timestep.
std
::
unique
_ptr
<
SystemVector
>
oldSolution_
;
std
::
shared
_ptr
<
SystemVector
>
oldSolution_
;
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment