Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Core Modules
dune-common
Commits
07f081ea
Commit
07f081ea
authored
19 years ago
by
Oliver Sander
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: useExistingDefaultsFile has to be a static variable
[[Imported from SVN: r2012]]
parent
611d1700
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
grid/uggrid.hh
+4
-1
4 additions, 1 deletion
grid/uggrid.hh
grid/uggrid/uggrid.cc
+4
-0
4 additions, 0 deletions
grid/uggrid/uggrid.cc
with
8 additions
and
1 deletion
grid/uggrid.hh
+
4
−
1
View file @
07f081ea
...
...
@@ -166,6 +166,9 @@ namespace Dune {
typedef
UGGridHierarchicIndexSet
<
Dune
::
UGGrid
<
dim
,
dimworld
>
>
HierarchicIndexSetType
;
typedef
DefaultLevelIndexSet
<
Dune
::
UGGrid
<
dim
,
dimworld
>
>
LevelIndexSetType
;
//! The type used to store coordinates
typedef
double
ctype
;
/** \brief Constructor with control over UG's memory requirements
*
* \param heapSize The size of UG's internal memory in megabytes. UG allocates
...
...
@@ -383,7 +386,7 @@ namespace Dune {
//! Marks whether the UG environment heap size is taken from
//! an existing defaults file or whether the values from
//! the UGGrid constructor are taken
bool
useExistingDefaultsFile
;
static
bool
useExistingDefaultsFile
;
//! The type of grid refinement currently in use
RefinementType
refinementType_
;
...
...
This diff is collapsed.
Click to expand it.
grid/uggrid/uggrid.cc
+
4
−
0
View file @
07f081ea
...
...
@@ -127,6 +127,10 @@ namespace Dune {
template
<
>
int
Dune
::
UGGrid
<
2
,
2
>::
numOfUGGrids
=
0
;
template
<
>
int
Dune
::
UGGrid
<
3
,
3
>::
numOfUGGrids
=
0
;
template
<
>
bool
Dune
::
UGGrid
<
2
,
2
>::
useExistingDefaultsFile
=
false
;
template
<
>
bool
Dune
::
UGGrid
<
3
,
3
>::
useExistingDefaultsFile
=
false
;
template
<
int
dim
,
int
dimworld
>
inline
Dune
::
UGGrid
<
dim
,
dimworld
>::
UGGrid
()
:
multigrid_
(
NULL
),
refinementType_
(
COPY
),
...
...
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