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
5d3b30c0
Commit
5d3b30c0
authored
Jan 21, 2018
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed optional_delete
parent
6d6d8969
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dune/amdis/ProblemStat.hpp
dune/amdis/ProblemStat.hpp
+3
-3
No files found.
dune/amdis/ProblemStat.hpp
View file @
5d3b30c0
...
...
@@ -91,10 +91,10 @@ namespace AMDiS
/// Constructor taking additionally a reference to a mesh that is used
/// instead of the default created mesh, \ref ProblemStat
ProblemStat
(
std
::
string
name
,
Grid
*
gridPtr
)
ProblemStat
(
std
::
string
name
,
Grid
&
grid
)
:
ProblemStat
(
name
)
{
this
->
grid
=
std
::
shared_ptr
<
Grid
>
(
gridPtr
,
optional_delete
(
false
)
);
this
->
grid
=
Dune
::
stackobject_to_shared_ptr
(
grid
);
componentGrids
.
resize
(
nComponents
,
this
->
grid
.
get
());
gridName
=
""
;
...
...
@@ -245,7 +245,7 @@ namespace AMDiS
/// matrices and vectors, as well as the file-writer.
void
setGrid
(
Grid
&
grid_
)
{
grid
=
std
::
shared_ptr
<
Grid
>
(
&
grid_
,
optional_delete
(
false
)
);
grid
=
Dune
::
stackobject_to_shared_ptr
(
grid_
);
std
::
fill
(
componentGrids
.
begin
(),
componentGrids
.
end
(),
this
->
grid
.
get
());
createGlobalBasis
();
...
...
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