Commit 20254fa2 authored by myron's avatar myron

corrected up and down margin fr he conical projector for MPI

parent cc283053
......@@ -5035,9 +5035,9 @@ void CCspace_tranpose_chunk (CCspace * self , int sn, int ntoktreated, int
self->invertedsteam_output_created=1;
}
for( iproj=0 ;iproj<num_my_proj; iproj++) {
int mu = self->params.CONICITY_MARGIN_UP [ sn_nb*nprocs + 0] ;
int md = self->params.CONICITY_MARGIN_DOWN [ sn_nb*nprocs + nprocs-1] ;
int mu = self->params.CONICITY_MARGIN_UP [ sn_nb*nprocs + nprocs-1] ;
int md = self->params.CONICITY_MARGIN_DOWN [ sn_nb*nprocs + 0] ;
start_slice = self->reading_infos.slices_mpi_offsets[ sn_nb*nprocs + 0] - md ;
top_slice = self->reading_infos.slices_mpi_offsets[ sn_nb*nprocs + nprocs-1] +
self->reading_infos.slices_mpi_numslices[ sn_nb*nprocs + nprocs-1 ]+
......@@ -5060,7 +5060,6 @@ void CCspace_tranpose_chunk (CCspace * self , int sn, int ntoktreated, int
// sara utilizzata solamente si geometria parallela. Sara comunque interessante vedere
// se i down e up estremali sono nulli. Questa cosa semplificherebbe il meccanismo quando lo
// si volesse applicare anche al caso conico
write_add_data_to_edf(Tptr + iproj*size0*size1 + (start_slice)*size1 , sizeV , self->params.NUM_IMAGE_1 , nomeout,
self->reading_infos.pos_s[ 2*sn_nb +0]-self->reading_infos.pos_s[ 2*0 +0] ,
top_slice-start_slice);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment