Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VirtualFluids
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
iRMB
VirtualFluids
Commits
256a0ac6
Commit
256a0ac6
authored
2 years ago
by
Anna Wellmann
Browse files
Options
Downloads
Patches
Plain Diff
Fix bug in Parameter constructor
some fuctions were called twice
parent
38dd88e3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!115
Enable running VirtualFluidsGPU without config file
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
+9
-4
9 additions, 4 deletions
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
with
9 additions
and
4 deletions
src/gpu/VirtualFluids_GPU/Parameter/Parameter.cpp
+
9
−
4
View file @
256a0ac6
...
...
@@ -46,9 +46,9 @@
Parameter
::
Parameter
(
int
numberOfProcesses
,
int
myId
)
{
ic
.
numprocs
=
numberOfProcesses
;
ic
.
myid
=
myId
;
this
->
ic
.
numprocs
=
numberOfProcesses
;
this
->
ic
.
myid
=
myId
;
initGridPaths
();
initGridDist
();
initMultiKernel
();
...
...
@@ -57,14 +57,19 @@ Parameter::Parameter(int numberOfProcesses, int myId)
// initLBMSimulationParameter();
}
Parameter
::
Parameter
(
const
vf
::
basics
::
ConfigurationFile
&
configData
,
int
numberOfProcesses
,
int
myId
)
:
Parameter
(
numberOfProcesses
,
myId
)
Parameter
::
Parameter
(
const
vf
::
basics
::
ConfigurationFile
&
configData
,
int
numberOfProcesses
,
int
myId
)
{
this
->
ic
.
numprocs
=
numberOfProcesses
;
this
->
ic
.
myid
=
myId
;
readConfigData
(
configData
);
initGridPaths
();
initGridDist
();
initMultiKernel
();
this
->
setFName
(
this
->
getOutputPath
()
+
"/"
+
this
->
getOutputPrefix
());
// initLBMSimulationParameter();
}
Parameter
::~
Parameter
()
=
default
;
...
...
This diff is collapsed.
Click to expand it.
Anna Wellmann
@a.wellmann
mentioned in commit
bf7e3ea7
·
2 years ago
mentioned in commit
bf7e3ea7
mentioned in commit bf7e3ea7b3230f6b62455a85fdaa9b17e37e0868
Toggle commit list
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