Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-pdelab-tutorials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
PDELab
dune-pdelab-tutorials
Merge requests
!37
Necessary cleanup for warning-free work with 2.6
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Necessary cleanup for warning-free work with 2.6
feature/cleanup-for-2.6
into
master
Overview
1
Commits
9
Pipelines
0
Changes
10
Merged
Dominic Kempf
requested to merge
feature/cleanup-for-2.6
into
master
7 years ago
Overview
1
Commits
9
Pipelines
0
Changes
10
Expand
0
0
Merge request reports
Viewing commit
772e885d
Prev
Next
Show latest version
10 files
+
38
−
20
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
772e885d
fill_array -> filledArray
· 772e885d
Dominic Kempf
authored
7 years ago
gridinterface/exercise/solution/finitevolume-3d.cc
+
3
−
2
Options
@@ -4,9 +4,10 @@
#include
"config.h"
#include
<array>
#include
<iostream>
#include
<dune/common/array.hh>
#include
<dune/common/
filled
array.hh>
#include
<dune/common/parallel/mpihelper.hh>
#include
<dune/grid/yaspgrid.hh>
#include
<dune/grid/io/file/vtk/vtksequencewriter.hh>
@@ -71,7 +72,7 @@ int main(int argc, char** argv)
auto
L
=
Dune
::
FieldVector
<
double
,
dim
>
(
1.0
);
// the number of cells per direction
auto
N
=
Dune
::
fill
_a
rray
<
int
,
dim
>
(
32
);
auto
N
=
Dune
::
fill
edA
rray
<
dim
,
int
>
(
32
);
// We don't want a periodic grid in any direction
auto
periodic
=
std
::
bitset
<
dim
>
(
false
);
Loading