Skip to content

fossil_overset ​

Source: src/lib/fossil_overset.f90

Dependencies

Contents ​

Variables ​

NameTypeAttributesDescription
ORPHAN_NONEinteger(kind=I4P)parameter
ORPHAN_NO_CANDIDATEinteger(kind=I4P)parameter
ORPHAN_STENCIL_HOLEinteger(kind=I4P)parameter
ORPHAN_RECEPTOR_DONORinteger(kind=I4P)parameter
ORPHAN_BOUNDARYinteger(kind=I4P)parameter
ORPHAN_WALLinteger(kind=I4P)parameter
FRINGE_INNER_1integer(kind=I4P)parameter
FRINGE_INNER_2integer(kind=I4P)parameter
FRINGE_OUTER_1integer(kind=I4P)parameter
FRINGE_OUTER_2integer(kind=I4P)parameter
SELECT_EXPLICITinteger(kind=I4P)parameter
SELECT_IMPLICITinteger(kind=I4P)parameter
PAIR_NONEinteger(kind=I4P)parameter
PAIR_OVERLAPinteger(kind=I4P)parameter
PAIR_SHAREDinteger(kind=I4P)parameter

Derived Types ​

block_logical_t ​

Components ​

NameTypeAttributesDescription
vlogicalallocatable

block_real_t ​

Components ​

NameTypeAttributesDescription
vreal(kind=R8P)allocatable

donor_set_t ​

Components ​

NameTypeAttributesDescription
startinteger(kind=I4P)allocatable
blockinteger(kind=I4P)allocatable
cellinteger(kind=I4P)allocatable
xireal(kind=R8P)allocatable
statusinteger(kind=I4P)allocatable
donor_volumereal(kind=R8P)allocatable
ratioreal(kind=R8P)allocatable
min_jacobianreal(kind=R8P)allocatable
receptor_volumereal(kind=R8P)allocatable
wall_distancereal(kind=R8P)allocatable

overset_mask_t ​

Components ​

NameTypeAttributesDescription
iotainteger(kind=I4P)allocatable
donorinteger(kind=I4P)allocatable
orphaninteger(kind=I4P)allocatable
fringeinteger(kind=I4P)allocatable

cls_t ​

Components ​

NameTypeAttributesDescription
ninteger(kind=I4P)
holelogicalallocatable
mandatorylogicalallocatable
immunelogicalallocatable
walllogicalallocatable
desiredlogicalallocatable
orderinteger(kind=I4P)allocatable
nodesinteger(kind=I4P)allocatable

connectivity_t ​

Components ​

NameTypeAttributesDescription
maskstype(overset_mask_t)allocatable
ninteger(kind=I4P)
receptor_blockinteger(kind=I4P)allocatable
receptor_vertexinteger(kind=I4P)allocatable
donor_blockinteger(kind=I4P)allocatable
cornerinteger(kind=I4P)allocatable
xireal(kind=R8P)allocatable
widthinteger(kind=I4P)allocatable
low_orderlogicalallocatable
qualityreal(kind=R8P)allocatable

ray_t ​

Components ​

NameTypeAttributesDescription
ninteger(kind=I4P)
treal(kind=R8P)allocatable
entlogicalallocatable

tri_list_t ​

Components ​

NameTypeAttributesDescription
ninteger(kind=I4P)
vreal(kind=R8P)allocatable
keeplogicalallocatable

seg_list_t ​

Components ​

NameTypeAttributesDescription
ninteger(kind=I4P)
areal(kind=R8P)allocatable
breal(kind=R8P)allocatable
lineinteger(kind=I4P)allocatable
keeplogicalallocatable

Subroutines ​

wall_cutter ​

fortran
subroutine wall_cutter(blocks, cutter, wall_name, tolerance, gap, shared, owner, status)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
cuttertype(surface_stl_object)inout
wall_namecharacter(len=*)inoptional
tolerancereal(kind=R8P)inoptional
gapreal(kind=R8P)outoptional
sharedlogicaloutallocatable, optional
ownerinteger(kind=I4P)outallocatable, optional
statusinteger(kind=I4P)outoptional

Call graph

block_wall_triangles ​

fortran
subroutine block_wall_triangles(blk, wname, tl, gmax)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
wnamecharacter(len=*)in
tltype(tri_list_t)inout
gmaxreal(kind=R8P)inout

Call graph

trim_triangles ​

fortran
subroutine trim_triangles(tl, tolerance, sh)

Arguments

NameTypeIntentAttributesDescription
tltype(tri_list_t)inout
tolerancereal(kind=R8P)inoptional
shlogicaloutallocatable

Call graph

near_set ​

fortran
subroutine near_set(ta, sbs, tolerance, near)

Arguments

NameTypeIntentAttributesDescription
tatype(tri_list_t)in
sbstype(surface_stl_object)in
tolerancereal(kind=R8P)inoptional
nearlogicaloutallocatable

Call graph

wall_cutter_2d ​

fortran
subroutine wall_cutter_2d(blocks, cutter, wall_name, tolerance, shared, owner, status)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
cuttertype(curve_object)inout
wall_namecharacter(len=*)inoptional
tolerancereal(kind=R8P)inoptional
sharedlogicaloutallocatable, optional
ownerinteger(kind=I4P)outallocatable, optional
statusinteger(kind=I4P)outoptional

Call graph

block_wall_segments ​

fortran
subroutine block_wall_segments(blk, wname, sl)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_2d_t)in
wnamecharacter(len=*)in
sltype(seg_list_t)inout

Call graph

swap_ends ​

Attributes: pure

fortran
subroutine swap_ends(a, b)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)inout
breal(kind=R8P)inout

Call graph

trim_segments ​

fortran
subroutine trim_segments(sl, tolerance, sh)

Arguments

NameTypeIntentAttributesDescription
sltype(seg_list_t)inout
tolerancereal(kind=R8P)inoptional
shlogicaloutallocatable

Call graph

segment_curve ​

fortran
subroutine segment_curve(sl, c)

Arguments

NameTypeIntentAttributesDescription
sltype(seg_list_t)in
ctype(curve_object)inout

Call graph

near_segs ​

fortran
subroutine near_segs(sa, cb, tolerance, near)

Arguments

NameTypeIntentAttributesDescription
satype(seg_list_t)in
cbtype(curve_object)in
tolerancereal(kind=R8P)inoptional
nearlogicaloutallocatable

Call graph

hole_flags ​

fortran
subroutine hole_flags(blocks, cutter, holes, offset, cuts, device, distances, poses, cutter_pose)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
cuttertype(surface_stl_object)inout
holestype(block_logical_t)outallocatable
offsetreal(kind=R8P)inoptional
cutslogicalinoptional
devicelogicalinoptional
distancestype(block_real_t)outallocatable, optional
posestype(rigid_pose_t)inoptional
cutter_posetype(rigid_pose_t)inoptional

Call graph

hole_flags_2d ​

fortran
subroutine hole_flags_2d(blocks, cutter, holes, offset, cuts, device, distances, poses, cutter_pose)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
cuttertype(curve_object)inout
holestype(block_logical_t)outallocatable
offsetreal(kind=R8P)inoptional
cutslogicalinoptional
devicelogicalinoptional
distancestype(block_real_t)outallocatable, optional
posestype(rigid_pose_2d_t)inoptional
cutter_posetype(rigid_pose_2d_t)inoptional

Call graph

hole_map ​

fortran
subroutine hole_map(blocks, cutter, holes, n, cuts, pegasus, unresolved)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
cuttertype(surface_stl_object)in
holestype(block_logical_t)outallocatable
ninteger(kind=I4P)in
cutslogicalinoptional
pegasuslogicalinoptional
unresolvedinteger(kind=I4P)outoptional

Call graph

paint_outside ​

fortran
subroutine paint_outside(state)

Arguments

NameTypeIntentAttributesDescription
stateinteger(kind=I4P)inout

Call graph

line_of_sight_3d ​

fortran
subroutine line_of_sight_3d(cutter, state, b0, h, p, ijk, peg, ins, ok)

Arguments

NameTypeIntentAttributesDescription
cuttertype(surface_stl_object)in
stateinteger(kind=I4P)in
b0real(kind=R8P)in
hreal(kind=R8P)in
preal(kind=R8P)in
ijkinteger(kind=I4P)in
peglogicalin
inslogicalout
oklogicalout

Call graph

xray_flags ​

fortran
subroutine xray_flags(blocks, cutter, holes, n, cuts)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
cuttertype(surface_stl_object)in
holestype(block_logical_t)outallocatable
ninteger(kind=I4P)in
cutslogicalinoptional

Call graph

hole_map_2d ​

fortran
subroutine hole_map_2d(blocks, cutter, holes, n, cuts, pegasus, unresolved)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
cuttertype(curve_object)in
holestype(block_logical_t)outallocatable
ninteger(kind=I4P)in
cutslogicalinoptional
pegasuslogicalinoptional
unresolvedinteger(kind=I4P)outoptional

Call graph

line_of_sight_2d ​

fortran
subroutine line_of_sight_2d(cutter, state, b0, h, p, ij, peg, ins, ok)

Arguments

NameTypeIntentAttributesDescription
cuttertype(curve_object)in
stateinteger(kind=I4P)in
b0real(kind=R8P)in
hreal(kind=R8P)in
preal(kind=R8P)in
ijinteger(kind=I4P)in
peglogicalin
inslogicalout
oklogicalout

Call graph

xray_flags_2d ​

fortran
subroutine xray_flags_2d(blocks, cutter, holes, n, cuts)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
cuttertype(curve_object)in
holestype(block_logical_t)outallocatable
ninteger(kind=I4P)in
cutslogicalinoptional

Call graph

overlap_matrix ​

fortran
subroutine overlap_matrix(blocks, pair, shared)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
pairinteger(kind=I4P)outallocatable
sharedlogicalinoptional

Call graph

boundary_points_3d ​

fortran
subroutine boundary_points_3d(blk, px, py, pz)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
pxreal(kind=R8P)outallocatable
pyreal(kind=R8P)outallocatable
pzreal(kind=R8P)outallocatable

Call graph

donor_candidates ​

fortran
subroutine donor_candidates(blocks, donors, pair, wall, device, shifts, poses, previous)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)inouttarget
donorstype(donor_set_t)outallocatable
pairinteger(kind=I4P)inoptional
walltype(surface_stl_object)inoptional
devicelogicalinoptional
shiftstype(block_real_t)inoptional
posestype(rigid_pose_t)inoptional
previoustype(donor_set_t)inoptional

Call graph

vertex_points_3d ​

fortran
subroutine vertex_points_3d(blk, px, py, pz)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
pxreal(kind=R8P)outallocatable
pyreal(kind=R8P)outallocatable
pzreal(kind=R8P)outallocatable

Call graph

overlap_matrix_2d ​

fortran
subroutine overlap_matrix_2d(blocks, pair, shared)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
pairinteger(kind=I4P)outallocatable
sharedlogicalinoptional

Call graph

donor_candidates_2d ​

fortran
subroutine donor_candidates_2d(blocks, donors, pair, wall, device, shifts, poses, previous)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)inouttarget
donorstype(donor_set_t)outallocatable
pairinteger(kind=I4P)inoptional
walltype(curve_object)inoptional
devicelogicalinoptional
shiftstype(block_real_t)inoptional
posestype(rigid_pose_2d_t)inoptional
previoustype(donor_set_t)inoptional

Call graph

classify ​

fortran
subroutine classify(blocks, donors, masks, rule, q, holes, explicit_interpolation, layers, immune, overlap_name, wall_name, iterations, circular)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
donorstype(donor_set_t)in
maskstype(overset_mask_t)outallocatable
ruleinteger(kind=I4P)in
qinteger(kind=I4P)in
holestype(block_logical_t)inoptional
explicit_interpolationlogicalinoptional
layersinteger(kind=I4P)inoptional
immuneinteger(kind=I4P)inoptional
overlap_namecharacter(len=*)inoptional
wall_namecharacter(len=*)inoptional
iterationsinteger(kind=I4P)outoptional
circularinteger(kind=I4P)outoptional

Call graph

classify_2d ​

fortran
subroutine classify_2d(blocks, donors, masks, rule, q, holes, explicit_interpolation, layers, immune, overlap_name, wall_name, iterations, circular)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
donorstype(donor_set_t)in
maskstype(overset_mask_t)outallocatable
ruleinteger(kind=I4P)in
qinteger(kind=I4P)in
holestype(block_logical_t)inoptional
explicit_interpolationlogicalinoptional
layersinteger(kind=I4P)inoptional
immuneinteger(kind=I4P)inoptional
overlap_namecharacter(len=*)inoptional
wall_namecharacter(len=*)inoptional
iterationsinteger(kind=I4P)outoptional
circularinteger(kind=I4P)outoptional

Call graph

face_flags_3d ​

fortran
subroutine face_flags_3d(blk, cl, overlap_name, wall_name, immune)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
cltype(cls_t)inout
overlap_namecharacter(len=*)inoptional
wall_namecharacter(len=*)inoptional
immuneinteger(kind=I4P)inoptional

Call graph

face_flags_2d ​

fortran
subroutine face_flags_2d(blk, cl, overlap_name, wall_name, immune)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_2d_t)in
cltype(cls_t)inout
overlap_namecharacter(len=*)inoptional
wall_namecharacter(len=*)inoptional
immuneinteger(kind=I4P)inoptional

Call graph

mark_range ​

Attributes: pure

fortran
subroutine mark_range(n, face, lo, hi, depth, flag)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
faceinteger(kind=I4P)in
lointeger(kind=I4P)in
hiinteger(kind=I4P)in
depthinteger(kind=I4P)in
flaglogicalinout

Call graph

classify_core ​

fortran
subroutine classify_core(cl, donors, masks, rule, explicit_interpolation, layers, iterations, circular)

Arguments

NameTypeIntentAttributesDescription
cltype(cls_t)inout
donorstype(donor_set_t)in
maskstype(overset_mask_t)outallocatable
ruleinteger(kind=I4P)in
explicit_interpolationlogicalinoptional
layersinteger(kind=I4P)inoptional
iterationsinteger(kind=I4P)outoptional
circularinteger(kind=I4P)outoptional

Call graph

fringe_levels ​

fortran
subroutine fringe_levels(blocks, masks, levels)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
maskstype(overset_mask_t)inout
levelsinteger(kind=I4P)inoptional

Call graph

fringe_levels_2d ​

fortran
subroutine fringe_levels_2d(blocks, masks, levels)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
maskstype(overset_mask_t)inout
levelsinteger(kind=I4P)inoptional

Call graph

fringe_core ​

fortran
subroutine fringe_core(n, outer, mask, nl)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
outerlogicalin
masktype(overset_mask_t)inout
nlinteger(kind=I4P)in

Call graph

cell_ring ​

Attributes: pure

fortran
subroutine cell_ring(n, seed, ring)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
seedlogicalin
ringlogicaloutallocatable

Call graph

overlap_width ​

fortran
subroutine overlap_width(blocks, masks, d)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
maskstype(overset_mask_t)in
dreal(kind=R8P)outallocatable

Call graph

overlap_width_2d ​

fortran
subroutine overlap_width_2d(blocks, masks, d)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
maskstype(overset_mask_t)in
dreal(kind=R8P)outallocatable

Call graph

width_core ​

fortran
subroutine width_core(x, y, z, masks, d)

Arguments

NameTypeIntentAttributesDescription
xtype(block_real_t)in
ytype(block_real_t)in
ztype(block_real_t)in
maskstype(overset_mask_t)in
dreal(kind=R8P)outallocatable

Call graph

hole_rings ​

Attributes: pure

fortran
subroutine hole_rings(n, hole, nl, ring)

Arguments

NameTypeIntentAttributesDescription
ninteger(kind=I4P)in
holelogicalin
nlinteger(kind=I4P)in
ringlogicalout

Call graph

sort_by_volume ​

Attributes: pure

fortran
subroutine sort_by_volume(key, vol)

Arguments

NameTypeIntentAttributesDescription
keyinteger(kind=I4P)inout
volreal(kind=R8P)in

Call graph

previous_starts ​

Attributes: pure

fortran
subroutine previous_starts(prev, b, dm, nv, starts)

Arguments

NameTypeIntentAttributesDescription
prevtype(donor_set_t)in
binteger(kind=I4P)in
dminteger(kind=I4P)in
nvinteger(kind=I4P)in
startsinteger(kind=I4P)outallocatable

Call graph

exposed_points ​

fortran
subroutine exposed_points(old, new, exposed, violations)

Arguments

NameTypeIntentAttributesDescription
oldtype(overset_mask_t)in
newtype(overset_mask_t)in
exposedtype(block_logical_t)outallocatable
violationsinteger(kind=I4P)outoptional

wall_projection ​

fortran
subroutine wall_projection(blocks, a, b, shift, max_distance, wall_name)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_t)in
ainteger(kind=I4P)in
binteger(kind=I4P)in
shiftreal(kind=R8P)outallocatable
max_distancereal(kind=R8P)in
wall_namecharacter(len=*)inoptional

Call graph

wall_projection_2d ​

fortran
subroutine wall_projection_2d(blocks, a, b, shift, max_distance, wall_name)

Arguments

NameTypeIntentAttributesDescription
blockstype(curvilinear_block_2d_t)in
ainteger(kind=I4P)in
binteger(kind=I4P)in
shiftreal(kind=R8P)outallocatable
max_distancereal(kind=R8P)in
wall_namecharacter(len=*)inoptional

Call graph

build_connectivity ​

fortran
subroutine build_connectivity(masks, donors, q, dm, conn)

Arguments

NameTypeIntentAttributesDescription
maskstype(overset_mask_t)in
donorstype(donor_set_t)in
qinteger(kind=I4P)in
dminteger(kind=I4P)in
conntype(connectivity_t)out

Call graph

save_connectivity ​

fortran
subroutine save_connectivity(conn, file_name, status)

Arguments

NameTypeIntentAttributesDescription
conntype(connectivity_t)in
file_namecharacter(len=*)in
statusinteger(kind=I4P)outoptional

cell_centre_block ​

fortran
subroutine cell_centre_block(blk, dual)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
dualtype(curvilinear_block_t)inout

Call graph

cell_centre_block_2d ​

fortran
subroutine cell_centre_block_2d(blk, dual)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_2d_t)in
dualtype(curvilinear_block_2d_t)inout

Call graph

Functions ​

mean_size ​

Attributes: pure

Returns: real(kind=r8p)

fortran
function mean_size(ta, mask) result(m)

Arguments

NameTypeIntentAttributesDescription
tatype(tri_list_t)in
masklogicalin

Call graph

mean_len ​

Attributes: pure

Returns: real(kind=r8p)

fortran
function mean_len(sa, mask) result(m)

Arguments

NameTypeIntentAttributesDescription
satype(seg_list_t)in
masklogicalin

Call graph

on_curve ​

Returns: logical

fortran
function on_curve(cutter, p) result(yes)

Arguments

NameTypeIntentAttributesDescription
cuttertype(curve_object)in
preal(kind=R8P)in

Call graph

vertex_volumes_3d ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function vertex_volumes_3d(vol) result(vv)

Arguments

NameTypeIntentAttributesDescription
volreal(kind=R8P)in

Call graph

vertex_volumes_2d ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function vertex_volumes_2d(ar) result(vv)

Arguments

NameTypeIntentAttributesDescription
arreal(kind=R8P)in

Call graph

name_or ​

Attributes: pure

Returns: character(len=:)

fortran
function name_or(name, default) result(n)

Arguments

NameTypeIntentAttributesDescription
namecharacter(len=*)inoptional
defaultcharacter(len=*)in

Call graph

orphan_cause ​

Returns: integer(kind=i4p)

fortran
function orphan_cause(cl, old, donors, a, v, expl) result(cause)

Arguments

NameTypeIntentAttributesDescription
cltype(cls_t)in
oldtype(overset_mask_t)in
donorstype(donor_set_t)in
ainteger(kind=I4P)in
vinteger(kind=I4P)in
expllogicalin

Call graph

outer_flags_3d ​

Returns: logical

fortran
function outer_flags_3d(blk) result(f)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in

Call graph

outer_flags_2d ​

Returns: logical

fortran
function outer_flags_2d(blk) result(f)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_2d_t)in

Call graph

pt3 ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function pt3(blk, p) result(x)

Arguments

NameTypeIntentAttributesDescription
blktype(curvilinear_block_t)in
pinteger(kind=I4P)in

Call graph

cross ​

Attributes: pure

Returns: real(kind=R8P)

fortran
function cross(a, b) result(c)

Arguments

NameTypeIntentAttributesDescription
areal(kind=R8P)in
breal(kind=R8P)in

Call graph