ice_distribution Module Reference

Data Types

type  distrb

Functions/Subroutines

type(distrbcreate_distribution (dist_type, nprocs, maxBlock, work_per_block, prob_per_block, blockType, bStats, FixMaxBlock)
subroutine create_local_block_ids (block_ids, distribution)
subroutine proc_decomposition (nprocs, nprocs_x, nprocs_y)
subroutine ice_distributionDestroy (distribution)
subroutine ice_distributionGet (distribution, nprocs, communicator, numLocalBlocks, blockLocation, blockLocalID, blockGlobalID)
subroutine ice_distributionGetBlockLoc (distribution, blockID, processor, localID)
subroutine ice_distributionGetBlockID (distribution, localID, blockID)
type(distrbcreate_distrb_cart (nprocs, workPerBlock)
type(distrbcreate_distrb_rake (nprocs, workPerBlock)
type(distrbcreate_distrb_spacecurve (nprocs, maxBlock, work_per_block, prob_per_block, blockType, bStats, FixMaxBlock)
subroutine TypePartition (blockType, minblocks, maxblocks, blockLocation)
subroutine PartitionCurve (work_per_block, work_per_proc, blockLocation, distance, nproc, max_blocks, Stats, FixMaxBlock, ierr)
subroutine wPartition (cost_per_block, blockLocation, distance, nproc, max_blocks, maxValue, maxDil, amaxBlocks, amaxDil)
subroutine ice_distributionRake (procWork, procID, blockWork, priority, distribution)
subroutine PrintPartitionLB (Location, n, bStats)
subroutine EstimateCost (coeffMatrix, n, Cost)
subroutine ConvertStatsBlock2Proc (Location, bStats, pStats)
subroutine WriteProbabilityStats (coeffMatrix, n)
subroutine WriteIntegerArray (fname, n, array)
subroutine WriteDblArray (fname, n, array)

Variables

integer(int_kind), parameter lndType = 0
integer(int_kind), parameter icefreeType = 1
integer(int_kind), parameter iceType = 2
character(char_len) processor_shape

Function/Subroutine Documentation

subroutine ice_distribution::ConvertStatsBlock2Proc ( integer (int_kind),dimension(:)  Location,
real (dbl_kind),dimension(:,:),intent(in)  bStats,
real (dbl_kind),dimension(:,:),intent(out)  pStats 
) [private]

Definition at line 2136 of file ice_distribution.F90.

type (distrb) ice_distribution::create_distrb_cart ( integer (int_kind),intent(in)  nprocs,
integer (int_kind),dimension(:),intent(in)  workPerBlock 
) [private]

Definition at line 674 of file ice_distribution.F90.

type (distrb) ice_distribution::create_distrb_rake ( integer (int_kind),intent(in)  nprocs,
integer (int_kind),dimension(:),intent(in)  workPerBlock 
) [private]

Definition at line 866 of file ice_distribution.F90.

type (distrb) ice_distribution::create_distrb_spacecurve ( integer (int_kind),intent(in)  nprocs,
integer (int_kind),intent(in)  maxBlock,
integer (int_kind),dimension(:),intent(in)  work_per_block,
real(dbl_kind),dimension(:),intent(in)  prob_per_block,
integer (int_kind),dimension(:),intent(in)  blockType,
real (dbl_kind),dimension(:,:),intent(in)  bStats,
logical,intent(in)  FixMaxBlock 
) [private]

Definition at line 1156 of file ice_distribution.F90.

type (distrb) ice_distribution::create_distribution ( character (*),intent(in)  dist_type,
integer (int_kind),intent(in)  nprocs,
integer (int_kind),intent(in)  maxBlock,
integer (int_kind),dimension(:),intent(in)  work_per_block,
real (dbl_kind),dimension(:),intent(in)  prob_per_block,
integer (int_kind),dimension(:),intent(in)  blockType,
real (dbl_kind),dimension(:,:),intent(in)  bStats,
logical,intent(in)  FixMaxBlock 
)

Definition at line 93 of file ice_distribution.F90.

subroutine ice_distribution::create_local_block_ids ( integer (int_kind),dimension(:),pointer  block_ids,
type (distrb),intent(in)  distribution 
)

Definition at line 180 of file ice_distribution.F90.

subroutine ice_distribution::EstimateCost ( real (dbl_kind),dimension(:,:)  coeffMatrix,
integer (int_kind)  n,
real (dbl_kind),dimension(:)  Cost 
) [private]

Definition at line 2115 of file ice_distribution.F90.

subroutine ice_distribution::ice_distributionDestroy ( type (distrb),intent(inout)  distribution  ) 

Definition at line 416 of file ice_distribution.F90.

subroutine ice_distribution::ice_distributionGet ( type (distrb),intent(in)  distribution,
integer (int_kind),intent(out),optional  nprocs,
integer (int_kind),intent(out),optional  communicator,
integer (int_kind),intent(out),optional  numLocalBlocks,
integer (int_kind),dimension(:),optional,pointer  blockLocation,
integer (int_kind),dimension(:),optional,pointer  blockLocalID,
integer (int_kind),dimension(:),optional,pointer  blockGlobalID 
)

Definition at line 473 of file ice_distribution.F90.

subroutine ice_distribution::ice_distributionGetBlockID ( type (distrb),intent(in)  distribution,
integer (int_kind),intent(in)  localID,
integer (int_kind),intent(out)  blockID 
)

Definition at line 617 of file ice_distribution.F90.

subroutine ice_distribution::ice_distributionGetBlockLoc ( type (distrb),intent(in)  distribution,
integer (int_kind),intent(in)  blockID,
integer (int_kind),intent(out)  processor,
integer (int_kind),intent(out)  localID 
)

Definition at line 556 of file ice_distribution.F90.

subroutine ice_distribution::ice_distributionRake ( integer (int_kind),dimension(:),intent(inout)  procWork,
integer (int_kind),dimension(:),intent(in)  procID,
integer (int_kind),dimension(:),intent(in)  blockWork,
integer (int_kind),dimension(:),intent(inout)  priority,
type (distrb),intent(inout)  distribution 
) [private]

Definition at line 1909 of file ice_distribution.F90.

subroutine ice_distribution::PartitionCurve ( integer (int_kind),dimension(:),intent(inout)  work_per_block,
integer (int_kind),dimension(:),intent(inout)  work_per_proc,
integer (int_kind),dimension(:),intent(inout)  blockLocation,
integer (int_kind),dimension(:),intent(inout)  distance,
integer (int_kind),intent(in)  nproc,
integer (int_kind),intent(in)  max_blocks,
real (dbl_kind),dimension(:,:),intent(in)  Stats,
logical,intent(in)  FixMaxBlock,
integer (int_kind),intent(inout)  ierr 
) [private]

Definition at line 1679 of file ice_distribution.F90.

subroutine ice_distribution::PrintPartitionLB ( integer,dimension(:)  Location,
integer  n,
real (dbl_kind),dimension(:,:)  bStats 
) [private]

Definition at line 2066 of file ice_distribution.F90.

subroutine ice_distribution::proc_decomposition ( integer (int_kind),intent(in)  nprocs,
integer (int_kind),intent(out)  nprocs_x,
integer (int_kind),intent(out)  nprocs_y 
) [private]

Definition at line 260 of file ice_distribution.F90.

subroutine ice_distribution::TypePartition ( integer(kind=int_kind),dimension(nblocks_tot),intent(in)  blockType,
integer,intent(in)  minblocks,
integer,intent(in)  maxblocks,
integer(kind=int_kind),dimension(nblocks_tot),intent(inout)  blockLocation 
) [private]

Definition at line 1602 of file ice_distribution.F90.

subroutine ice_distribution::wPartition ( real (dbl_kind),dimension(:),intent(in)  cost_per_block,
integer (int_kind),dimension(:),intent(inout)  blockLocation,
integer (int_kind),dimension(:),intent(inout)  distance,
integer (int_kind),intent(in)  nproc,
integer (int_kind),intent(in)  max_blocks,
real (real_kind),intent(in)  maxvalue,
real (real_kind),intent(in)  maxDil,
integer (int_kind),intent(inout)  amaxBlocks,
real (real_kind),intent(out)  amaxDil 
) [private]

Definition at line 1834 of file ice_distribution.F90.

subroutine ice_distribution::WriteDblArray ( character(char_len)  fname,
integer (int_kind)  n,
real (dbl_kind),dimension(:)  array 
) [private]

Definition at line 2185 of file ice_distribution.F90.

subroutine ice_distribution::WriteIntegerArray ( character(char_len)  fname,
integer (int_kind)  n,
integer (int_kind),dimension(:)  array 
) [private]

Definition at line 2171 of file ice_distribution.F90.

subroutine ice_distribution::WriteProbabilityStats ( real(dbl_kind),dimension(:,:)  coeffMatrix,
integer (int_kind)  n 
) [private]

Definition at line 2155 of file ice_distribution.F90.


Variable Documentation

integer (int_kind),parameter ice_distribution::icefreeType = 1

Definition at line 56 of file ice_distribution.F90.

integer (int_kind),parameter ice_distribution::iceType = 2

Definition at line 56 of file ice_distribution.F90.

integer (int_kind),parameter ice_distribution::lndType = 0

Definition at line 56 of file ice_distribution.F90.

character (char_len) ice_distribution::processor_shape

Definition at line 75 of file ice_distribution.F90.

 All Classes Namespaces Files Functions Variables Defines

Generated on Tue Oct 6 14:02:25 2009 for CICE by  doxygen 1.6.1