Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPC_Imaging
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
Container 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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Claudio Gheller
HPC_Imaging
Commits
60f2989c
Commit
60f2989c
authored
Mar 3, 2022
by
Nandhana Sakhtivel
Browse files
Options
Downloads
Patches
Plain Diff
Changes in variables
parent
dac28420
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
allvars.c
+0
-1
0 additions, 1 deletion
allvars.c
allvars.h
+0
-1
0 additions, 1 deletion
allvars.h
fourier_transform.c
+2
-1
2 additions, 1 deletion
fourier_transform.c
with
2 additions
and
3 deletions
allvars.c
+
0
−
1
View file @
60f2989c
...
@@ -26,7 +26,6 @@ struct timespec begin, finish, begin0, begink, finishk;
...
@@ -26,7 +26,6 @@ struct timespec begin, finish, begin0, begink, finishk;
struct
sectorlist
**
sectorhead
;
struct
sectorlist
**
sectorhead
;
long
*
histo_send
,
size_of_grid
;
long
*
histo_send
,
size_of_grid
;
double
*
grid
,
*
gridss
,
*
gridss_real
,
*
gridss_img
,
*
gridss_w
;
double
*
grid
,
*
gridss
,
*
gridss_real
,
*
gridss_img
,
*
gridss_w
;
fftw_complex
*
fftwgrid
;
#ifdef USE_MPI
#ifdef USE_MPI
MPI_Win
slabwin
;
MPI_Win
slabwin
;
...
...
This diff is collapsed.
Click to expand it.
allvars.h
+
0
−
1
View file @
60f2989c
...
@@ -131,7 +131,6 @@ extern clock_t start, end, start0, startk, endk;
...
@@ -131,7 +131,6 @@ extern clock_t start, end, start0, startk, endk;
extern
struct
timespec
begin
,
finish
,
begin0
,
begink
,
finishk
;
extern
struct
timespec
begin
,
finish
,
begin0
,
begink
,
finishk
;
extern
long
*
histo_send
,
size_of_grid
;
extern
long
*
histo_send
,
size_of_grid
;
extern
double
*
grid
,
*
gridss
,
*
gridss_real
,
*
gridss_img
,
*
gridss_w
;
extern
double
*
grid
,
*
gridss
,
*
gridss_real
,
*
gridss_img
,
*
gridss_w
;
extern
fftw_complex
*
fftwgrid
;
#ifdef USE_MPI
#ifdef USE_MPI
extern
MPI_Win
slabwin
;
extern
MPI_Win
slabwin
;
...
...
This diff is collapsed.
Click to expand it.
fourier_transform.c
+
2
−
1
View file @
60f2989c
...
@@ -10,6 +10,7 @@ void fftw_data(){
...
@@ -10,6 +10,7 @@ void fftw_data(){
clock_gettime
(
CLOCK_MONOTONIC
,
&
begin
);
clock_gettime
(
CLOCK_MONOTONIC
,
&
begin
);
start
=
clock
();
start
=
clock
();
fftw_plan
plan
;
fftw_plan
plan
;
fftw_complex
*
fftwgrid
;
ptrdiff_t
alloc_local
,
local_n0
,
local_0_start
;
ptrdiff_t
alloc_local
,
local_n0
,
local_0_start
;
double
norm
=
1
.
0
/
(
double
)(
param
.
grid_size_x
*
param
.
grid_size_y
);
double
norm
=
1
.
0
/
(
double
)(
param
.
grid_size_x
*
param
.
grid_size_y
);
...
@@ -56,6 +57,7 @@ void fftw_data(){
...
@@ -56,6 +57,7 @@ void fftw_data(){
}
}
fftw_destroy_plan
(
plan
);
fftw_destroy_plan
(
plan
);
fftw_free
(
fftwgrid
);
#ifdef USE_MPI
#ifdef USE_MPI
MPI_Win_fence
(
0
,
slabwin
);
MPI_Win_fence
(
0
,
slabwin
);
...
@@ -150,7 +152,6 @@ void write_fftw_data(){
...
@@ -150,7 +152,6 @@ void write_fftw_data(){
#endif
#endif
#endif //WRITE_DATA
#endif //WRITE_DATA
fftw_free
(
fftwgrid
);
// Phase correction
// Phase correction
...
...
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