Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TurTLE
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
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
Show more breadcrumbs
TurTLE
TurTLE
Commits
f06df485
Commit
f06df485
authored
6 years ago
by
Jose Agustin Arguedas Leiva
Browse files
Options
Downloads
Patches
Plain Diff
debugging: orientation does not change
parent
75ff2054
No related branches found
No related tags found
1 merge request
!23
WIP: Feature/use cmake
Pipeline
#36431
passed
6 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bfps/cpp/full_code/NSVEcomplex_particles.cpp
+5
-1
5 additions, 1 deletion
bfps/cpp/full_code/NSVEcomplex_particles.cpp
bfps/cpp/particles/particles_system.hpp
+1
-1
1 addition, 1 deletion
bfps/cpp/particles/particles_system.hpp
with
6 additions
and
2 deletions
bfps/cpp/full_code/NSVEcomplex_particles.cpp
+
5
−
1
View file @
f06df485
...
...
@@ -45,6 +45,7 @@ int NSVEcomplex_particles<rnumber>::initialize(void)
this
->
enable_inner
=
false
;
current_particles_inner_computer
.
setEnable
(
enable_inner
);
this
->
ps
=
particles_system_builder_with_p2p
(
this
->
fs
->
cvelocity
,
// (field object)
this
->
fs
->
kk
,
// (kspace object, contains dkx, dky, dkz)
...
...
@@ -237,7 +238,10 @@ int NSVEcomplex_particles<rnumber>::read_parameters(void)
this
->
tracers0_smoothness
=
hdf5_tools
::
read_value
<
int
>
(
parameter_file
,
"parameters/tracers0_smoothness"
);
this
->
enable_p2p
=
hdf5_tools
::
read_value
<
int
>
(
parameter_file
,
"parameters/tracers0_enable_p2p"
);
this
->
enable_inner
=
hdf5_tools
::
read_value
<
int
>
(
parameter_file
,
"parameters/tracers0_enable_inner"
);
this
->
enable_vorticity_omega
=
hdf5_tools
::
read_value
<
int
>
(
parameter_file
,
"parameters/tracers0_enable_vorticity_omega"
);
int
tval
=
hdf5_tools
::
read_value
<
int
>
(
parameter_file
,
"parameters/tracers0_enable_vorticity_omega"
);
this
->
enable_vorticity_omega
=
tval
;
DEBUG_MSG
(
"tracers0_enable_vorticity_omega = %d, this->enable_vorticity_omega = %d
\n
"
,
tval
,
this
->
enable_vorticity_omega
);
this
->
cutoff
=
hdf5_tools
::
read_value
<
double
>
(
parameter_file
,
"parameters/tracers0_cutoff"
);
this
->
inner_v0
=
hdf5_tools
::
read_value
<
double
>
(
parameter_file
,
"parameters/tracers0_inner_v0"
);
H5Fclose
(
parameter_file
);
...
...
This diff is collapsed.
Click to expand it.
bfps/cpp/particles/particles_system.hpp
+
1
−
1
View file @
f06df485
...
...
@@ -278,7 +278,7 @@ public:
void
completeLoopWithVorticity
(
const
real_number
dt
,
const
real_number
particle_extra_rhs
[])
final
{
TIMEZONE
(
"particles_system::completeLoop"
);
TIMEZONE
(
"particles_system::completeLoop
WithVorticity
"
);
compute
();
compute_p2p
();
compute_particles_inner
(
particle_extra_rhs
);
...
...
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