Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
matVecKernels
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
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
openfoam
matVecKernels
Commits
2a691986
Commit
2a691986
authored
4 months ago
by
Francesco Bottau
Browse files
Options
Downloads
Patches
Plain Diff
Corrected name to plot data grouping for meshType
parent
0d22aeec
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
postProcessor/sqliteAnalysis.py
+8
-3
8 additions, 3 deletions
postProcessor/sqliteAnalysis.py
with
8 additions
and
3 deletions
postProcessor/sqliteAnalysis.py
+
8
−
3
View file @
2a691986
...
...
@@ -106,13 +106,15 @@ if __name__ == '__main__':
#if " " in comparisonObject:
# comparisonObject = comparisonObject.split(" ")
comparisonType
=
input
(
"
Type against what make the comparison (X axis of the graph): kernelFlavour, compiler:
\n
"
)
comparisonType
=
input
(
"
Type against what make the comparison (X axis of the graph): kernelFlavour, compiler
, nRows ...
:
\n
"
)
print
(
f
"
You chose:
{
comparisonType
}
\n
"
)
if
comparisonType
==
"
m
atrix
Type
"
:
if
comparisonType
==
"
m
esh
Type
"
:
comparisonType
=
"
prefix
"
comparisonGroup
=
input
(
"
Type goups of data to consider (e.g. m
atrix t
ype, compiler)
\n
"
)
comparisonGroup
=
input
(
"
Type g
r
oups of data to consider (e.g. m
eshT
ype, compiler
, nRows ...
)
\n
"
)
print
(
f
"
You chose:
{
comparisonGroup
}
\n
"
)
if
comparisonGroup
==
"
meshType
"
:
comparisonGroup
=
"
prefix
"
compiler
=
""
if
comparisonType
!=
"
compiler
"
and
comparisonGroup
!=
"
compiler
"
:
...
...
@@ -150,6 +152,9 @@ if __name__ == '__main__':
else
:
columns
=
f
"
{
comparisonGroup
}
,
{
comparisonType
}
,
{
comparisonObject
}
"
if
comparisonType
==
"
prefix
"
:
comparisonType
=
"
meshType
"
if
comparisonObject
==
"
prefix
"
:
comparisonObject
=
"
meshType
"
if
nRows
!=
[]:
for
nrows
in
nRows
:
print
(
f
"
Analysing data for
{
nrows
}
"
)
...
...
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