Skip to content

fossil_cut_graph ​

Source: src/lib/fossil_cut_graph.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
MERGE_NONEinteger(kind=I4P)parameter
MERGE_OKinteger(kind=I4P)parameter
MERGE_CHAINinteger(kind=I4P)parameter
MERGE_CYCLEinteger(kind=I4P)parameter
MERGE_ALONEinteger(kind=I4P)parameter
SRD_REGULARinteger(kind=I4P)parameter
SRD_COMPLETEinteger(kind=I4P)parameter
SRD_INCOMPLETEinteger(kind=I4P)parameter
SRD_NO_VOLUMEinteger(kind=I4P)parameter

Derived Types ​

Components ​

NameTypeAttributesDescription
npinteger(kind=I4P)
startinteger(kind=I4P)allocatable
pieceinteger(kind=I4P)allocatable
faceinteger(kind=I4P)allocatable
areareal(kind=R8P)allocatable
unmatchedinteger(kind=I4P)

srd_t ​

Components ​

NameTypeAttributesDescription
npinteger(kind=I4P)
taureal(kind=R8P)
startinteger(kind=I4P)allocatable
memberinteger(kind=I4P)allocatable
novinteger(kind=I4P)allocatable
statusinteger(kind=I4P)allocatable
vhatreal(kind=R8P)allocatable
xhatreal(kind=R8P)allocatable
eta_nbreal(kind=R8P)allocatable
eta_selfreal(kind=R8P)allocatable

frd_t ​

Components ​

NameTypeAttributesDescription
npinteger(kind=I4P)
startinteger(kind=I4P)allocatable
memberinteger(kind=I4P)allocatable
weightreal(kind=R8P)allocatable

merge_t ​

Components ​

NameTypeAttributesDescription
npinteger(kind=I4P)
statusinteger(kind=I4P)allocatable
targetinteger(kind=I4P)allocatable
final_targetinteger(kind=I4P)allocatable
mix_startinteger(kind=I4P)allocatable
mix_pieceinteger(kind=I4P)allocatable
mix_weightreal(kind=R8P)allocatable

Subroutines ​

merge_targets ​

fortran
subroutine merge_targets(links, piece_cell, piece_volume, wet_normal, x, y, mt, z, tau, mask, exclude)

Arguments

NameTypeIntentAttributesDescription
linkstype(cut_links_t)in
piece_cellinteger(kind=I4P)in
piece_volumereal(kind=R8P)in
wet_normalreal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
mttype(merge_t)out
zreal(kind=R8P)inoptional
taureal(kind=R8P)inoptional
masklogicalinoptional
excludelogicalinoptional

Call graph

frd_neighbourhoods ​

fortran
subroutine frd_neighbourhoods(links, piece_cell, piece_volume, x, y, frd, z)

Arguments

NameTypeIntentAttributesDescription
linkstype(cut_links_t)in
piece_cellinteger(kind=I4P)in
piece_volumereal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
frdtype(frd_t)out
zreal(kind=R8P)inoptional

srd_neighbourhoods ​

fortran
subroutine srd_neighbourhoods(links, piece_cell, piece_volume, piece_centroid, wet_normal, x, y, srd, z, tau)

Arguments

NameTypeIntentAttributesDescription
linkstype(cut_links_t)in
piece_cellinteger(kind=I4P)in
piece_volumereal(kind=R8P)in
piece_centroidreal(kind=R8P)in
wet_normalreal(kind=R8P)in
xreal(kind=R8P)in
yreal(kind=R8P)in
srdtype(srd_t)out
zreal(kind=R8P)inoptional
taureal(kind=R8P)inoptional

Call graph

fortran
subroutine cut_links_2d(cut, links)

Arguments

NameTypeIntentAttributesDescription
cuttype(cut_cells_2d_t)in
linkstype(cut_links_t)out

Call graph

build_csr ​

fortran
subroutine build_csr(nl, lp, lq, lf, la, links)

Arguments

NameTypeIntentAttributesDescription
nlinteger(kind=I4P)in
lpinteger(kind=I4P)in
lqinteger(kind=I4P)in
lfinteger(kind=I4P)in
lareal(kind=R8P)in
linkstype(cut_links_t)inout

Call graph

fortran
subroutine merge_sort_links(k1, k2, k3, ord)

Arguments

NameTypeIntentAttributesDescription
k1integer(kind=I4P)in
k2integer(kind=I4P)in
k3integer(kind=I4P)in
ordinteger(kind=I4P)inout

Call graph

sort_by_key ​

fortran
subroutine sort_by_key(ik, rk, ord)

Arguments

NameTypeIntentAttributesDescription
ikinteger(kind=I4P)in
rkreal(kind=R8P)in
ordinteger(kind=I4P)out

Call graph