alloc_conn Interface

interface

**m Connectivity/free_conn

NAME free_conn USAGE call free_conn(a2b)

DESCRIPTION Destructor

INPUTS a2b :: type(connectivity) The connectivity to be destroyed;


**f Connectivity/bcast_conn

NAME bcast_conn USAGE

 call bcast_conn(a2b)

DESCRIPTION Distribute a copy of the connectivity from process 0 to everybody else.

INPUTS a2b :: type(connectivity) The connectivity to be broadcast;


**m Connectivity/get_ith_conn

NAME get_ith_conn USAGE call get_ith_conn(ith_conn,a2b,i)

DESCRIPTION Getter. Access the I-th row in the connectivity table. Returns a pointer to the requested row. Note: returning a pointer and not a copy, because it is used in tight loops; user should NEVER modify nor deallocate the returned pointer.

INPUTS a2b :: type(connectivity), intent(in), target The connectivity to be accessed; i :: integer Request access to the I-th row; OUTPUT ith_conn(:) :: integer, pointer A pointer to the i-th row;


**m Connectivity/get_conn_csr

NAME get_conn_csr USAGE call get_conn_csr(a2b,lookup,conn)

DESCRIPTION Get a full copy of the connectivity table in CSR format. Being a copy the user may do as he/she pleases with it, and should remember to deallocate it.

INPUTS a2b :: type(connectivity), intent(in) The connectivity to be accessed; OUTPUT lookup(:) :: integer, allocatable conn(:) :: integer, allocatable A copy of the lookup table. The neighbours of item I are listed at CONN(lookup(i):lookup(i+1)-1)



Calls

interface~~alloc_conn~~CallsGraph interface~alloc_conn alloc_conn proc~alloc_conn alloc_conn interface~alloc_conn->proc~alloc_conn interface~abort_psblas abort_psblas proc~alloc_conn->interface~abort_psblas proc~abort_psblas abort_psblas interface~abort_psblas->proc~abort_psblas psb_abort psb_abort proc~abort_psblas->psb_abort

Called by

interface~~alloc_conn~~CalledByGraph interface~alloc_conn alloc_conn proc~cmp_mesh_f2b cmp_mesh_f2b proc~cmp_mesh_f2b->interface~alloc_conn proc~g2l_conn_core g2l_conn_core proc~g2l_conn_core->interface~alloc_conn proc~cmp_mesh_v2ve cmp_mesh_v2ve proc~cmp_mesh_v2ve->interface~alloc_conn interface~cmp_mesh_v2e cmp_mesh_v2e proc~cmp_mesh_v2ve->interface~cmp_mesh_v2e proc~copy_conn copy_conn proc~copy_conn->interface~alloc_conn proc~cmp_mesh_v2v cmp_mesh_v2v proc~cmp_mesh_v2v->interface~alloc_conn proc~cmp_mesh_v2b cmp_mesh_v2b proc~cmp_mesh_v2b->interface~alloc_conn proc~get_dual_conn get_dual_conn proc~get_dual_conn->interface~alloc_conn proc~cmp_mesh_f2f cmp_mesh_f2f proc~cmp_mesh_f2f->interface~alloc_conn proc~l2g_conn l2g_conn proc~l2g_conn->interface~alloc_conn proc~bcast_conn bcast_conn proc~bcast_conn->interface~alloc_conn proc~cmp_mesh_v2e cmp_mesh_v2e proc~cmp_mesh_v2e->interface~alloc_conn proc~cmp_mesh_c2c cmp_mesh_c2c proc~cmp_mesh_c2c->interface~alloc_conn interface~cmp_mesh_f2f cmp_mesh_f2f interface~cmp_mesh_f2f->proc~cmp_mesh_f2f interface~bcast_conn bcast_conn interface~bcast_conn->proc~bcast_conn interface~l2g_conn l2g_conn interface~l2g_conn->proc~l2g_conn interface~cmp_mesh_c2c cmp_mesh_c2c interface~cmp_mesh_c2c->proc~cmp_mesh_c2c interface~cmp_mesh_v2e->proc~cmp_mesh_v2e interface~cmp_mesh_v2v cmp_mesh_v2v interface~cmp_mesh_v2v->proc~cmp_mesh_v2v interface~g2l_conn_core g2l_conn_core interface~g2l_conn_core->proc~g2l_conn_core interface~cmp_mesh_f2b cmp_mesh_f2b interface~cmp_mesh_f2b->proc~cmp_mesh_f2b interface~cmp_mesh_v2b cmp_mesh_v2b interface~cmp_mesh_v2b->proc~cmp_mesh_v2b interface~get_dual_conn get_dual_conn interface~get_dual_conn->proc~get_dual_conn interface~cmp_mesh_v2ve cmp_mesh_v2ve interface~cmp_mesh_v2ve->proc~cmp_mesh_v2ve proc~create_mesh create_mesh proc~create_mesh->interface~cmp_mesh_f2f proc~create_mesh->interface~cmp_mesh_c2c proc~create_mesh->interface~cmp_mesh_f2b proc~create_mesh->interface~cmp_mesh_v2b proc~create_mesh->interface~cmp_mesh_v2ve proc~g2l_mesh g2l_mesh proc~create_mesh->proc~g2l_mesh interface~supplement_v2f supplement_v2f proc~create_mesh->interface~supplement_v2f interface~cmp_mesh_desc cmp_mesh_desc proc~create_mesh->interface~cmp_mesh_desc proc~write_exo_morfeus write_exo_morfeus proc~write_exo_morfeus->interface~l2g_conn proc~cmp_mesh_desc cmp_mesh_desc proc~cmp_mesh_desc->interface~bcast_conn proc~g2l_mesh->interface~bcast_conn proc~write_mesh write_mesh proc~write_mesh->interface~l2g_conn proc~supplement_v2f supplement_v2f proc~supplement_v2f->interface~bcast_conn interface~write_mesh write_mesh interface~write_mesh->proc~write_mesh interface~supplement_v2f->proc~supplement_v2f interface~cmp_mesh_desc->proc~cmp_mesh_desc interface~write_exo_morfeus write_exo_morfeus interface~write_exo_morfeus->proc~write_exo_morfeus interface~create_mesh create_mesh interface~create_mesh->proc~create_mesh

public module subroutine alloc_conn(a2b, nel, nconn, lb)

Arguments

Type IntentOptional AttributesName
type(connectivity), intent(inout) :: a2b
integer, intent(in) :: nel
integer, intent(in) :: nconn
integer, intent(in), optional :: lb