Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
3baf1b17
Commit
3baf1b17
authored
7 years ago
by
Dominic Kempf
Browse files
Options
Downloads
Patches
Plain Diff
Fixup lfs size determination for systems of identical components
parent
69afb16e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dune/perftool/pdelab/spaces.py
+2
-3
2 additions, 3 deletions
python/dune/perftool/pdelab/spaces.py
with
2 additions
and
3 deletions
python/dune/perftool/pdelab/spaces.py
+
2
−
3
View file @
3baf1b17
...
@@ -71,8 +71,7 @@ def define_lfs(name, father, child):
...
@@ -71,8 +71,7 @@ def define_lfs(name, father, child):
@preamble
@preamble
def
define_lfs_size
(
element
,
restriction
):
def
define_lfs_size
(
lfs
,
element
,
restriction
):
lfs
=
name_leaf_lfs
(
element
,
restriction
)
name
=
name_lfs_bound
(
lfs
)
name
=
name_lfs_bound
(
lfs
)
return
"
auto {} = {}.size();
"
.
format
(
name
,
lfs
)
return
"
auto {} = {}.size();
"
.
format
(
name
,
lfs
)
...
@@ -86,7 +85,7 @@ def define_gfs(name, father, child):
...
@@ -86,7 +85,7 @@ def define_gfs(name, father, child):
def
_name_lfs
(
element
,
restriction
,
tp
,
name
):
def
_name_lfs
(
element
,
restriction
,
tp
,
name
):
if
len
(
tp
)
==
0
:
if
len
(
tp
)
==
0
:
name_leaf_lfs
(
element
,
restriction
,
val
=
name
)
name_leaf_lfs
(
element
,
restriction
,
val
=
name
)
define_lfs_size
(
element
,
restriction
)
define_lfs_size
(
name
,
element
,
restriction
)
return
name
return
name
childname
=
"
{}_{}
"
.
format
(
name
,
tp
[
0
])
childname
=
"
{}_{}
"
.
format
(
name
,
tp
[
0
])
...
...
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