Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-alugrid
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
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
Show more breadcrumbs
ag-ohlberger
dune-community
dune-alugrid
Commits
c89de4f3
Commit
c89de4f3
authored
12 years ago
by
Robert Kloefkorn
Browse files
Options
Downloads
Patches
Plain Diff
small fix for numElements to be zero.
Also, enable loadBalance again.
parent
9a958d3f
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
misc/examples/sizes.cc
+1
-1
1 addition, 1 deletion
misc/examples/sizes.cc
src/parallel/gitter_pll_impl.cc
+2
-1
2 additions, 1 deletion
src/parallel/gitter_pll_impl.cc
with
3 additions
and
2 deletions
misc/examples/sizes.cc
+
1
−
1
View file @
c89de4f3
...
...
@@ -134,7 +134,7 @@ void checkRefinements( GitterType& grid )
// refine grid globally, i.e. mark all elements and then call adapt
template
<
class
GitterType
>
void
globalRefine
(
GitterType
&
grid
,
bool
global
,
int
step
,
int
mxl
,
const
bool
loadBalance
=
fals
e
)
const
bool
loadBalance
=
tru
e
)
{
{
if
(
global
)
...
...
This diff is collapsed.
Click to expand it.
src/parallel/gitter_pll_impl.cc
+
2
−
1
View file @
c89de4f3
...
...
@@ -2324,8 +2324,9 @@ void GitterBasisPll :: printMemUsage ()
allSize
+=
indexMem
;
}
size_t
perElement
=
(
numElements
>
0
)
?
allSize
/
numElements
:
0
;
cout
<<
"All leaf size : "
<<
allSize
<<
" MB"
<<
endl
;
cout
<<
"bytes per Element: "
<<
allSize
/
num
Element
s
<<
endl
;
cout
<<
"bytes per Element: "
<<
per
Element
<<
endl
;
cout
<<
"Estimated all size : "
<<
(
9
*
long
(
allSize
)
/
8
)
<<
" MB"
<<
endl
;
size_t
build
=
container
().
memUsage
();
...
...
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