Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pFoF
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Roy Fabrice
pFoF
Commits
6b282d45
Commit
6b282d45
authored
5 years ago
by
Roy Fabrice
Browse files
Options
Downloads
Patches
Plain Diff
first complete version
should now be tested and completed
parent
41362c10
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
amr2cube/src/amr2cube.f90
+8
-9
8 additions, 9 deletions
amr2cube/src/amr2cube.f90
with
8 additions
and
9 deletions
amr2cube/src/amr2cube.f90
+
8
−
9
View file @
6b282d45
...
...
@@ -35,6 +35,7 @@ program amr2cube
use
cells_array_m
,
only
:
cells_array_t
use
constants_m
,
only
:
IDKIND
use
cubes_array_m
,
only
:
cubes_array_t
use
fortran_hdf5_manage_interface_m
use
iso_fortran_env
,
only
:
OUTPUT_UNIT
use
mpi
use
ramses_info_m
,
only
:
ramses_info_t
...
...
@@ -55,6 +56,8 @@ program amr2cube
type
(
ramses_output_t
)
::
ramses_output
call
mpi_init
(
mpierr
)
call
Hdf5_init
()
call
mpi_process
%
Init
()
call
mpi_process
%
Print
()
...
...
@@ -72,9 +75,7 @@ program amr2cube
call
ramses_output
%
Deallocate
()
call
cells_array
%
Sort
()
call
cells_array
%
Remove_duplicate
()
call
cells_array
%
Clean
(
amr2cube_parameters
%
cube_level
)
call
cubes_array
%
Init
(
amr2cube_parameters
,
ramses_info
)
...
...
@@ -85,12 +86,10 @@ program amr2cube
call
cells_array
%
Distribute
(
cube_to_process
)
call
cubes_array
%
Associate
(
cells_array
,
global_cells_per_cube
)
! if(mpi_process%rank == 0) then
! do mpierr=1,cubes_array%ncubes
! write(OUTPUT_UNIT,*) cubes_array%elts(mpierr)%process_rank
! end do
! end if
call
cubes_array
%
Write
()
call
Hdf5_finalize
()
call
mpi_finalize
(
mpierr
)
end
program
amr2cube
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