fossil_cut_loads
Source: src/lib/fossil_cut_loads.f90
Dependencies
Contents
- cut_walls_2d_t
- cut_walls_2d
- cut_walls_gyration
- cut_loads_3d
- cut_loads_2d
- walls_2d_alloc
- reduce
- neumaier_add
- cut_loads_linear_pressure
- cross3
- sym_times
Derived Types
cut_walls_2d_t
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
n | integer(kind=I4P) | ||
piece | integer(kind=I4P) | allocatable | |
segment | integer(kind=I4P) | allocatable | |
ends | real(kind=R8P) | allocatable | |
area | real(kind=R8P) | allocatable | |
length | real(kind=R8P) | allocatable | |
centroid | real(kind=R8P) | allocatable |
Subroutines
cut_walls_2d
fortran
subroutine cut_walls_2d(cut, walls, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
cut | type(cut_cells_2d_t) | in | ||
walls | type(cut_walls_2d_t) | out | ||
status | integer(kind=I4P) | out | optional |
Call graph
cut_walls_gyration
fortran
subroutine cut_walls_gyration(walls, surface, x, y, z, gyration, status)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
walls | type(cut_walls_3d_t) | in | ||
surface | type(surface_stl_object) | in | ||
x | real(kind=R8P) | in | ||
y | real(kind=R8P) | in | ||
z | real(kind=R8P) | in | ||
gyration | real(kind=R8P) | out | allocatable | |
status | integer(kind=I4P) | out | optional |
Call graph
cut_loads_3d
fortran
subroutine cut_loads_3d(walls, force, moment, status, pressure, pressure_per_piece, shear, gradient, gyration, about, surface, per_patch_force, per_patch_moment, per_body_force, per_body_moment, area, unassigned)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
walls | type(cut_walls_3d_t) | in | ||
force | real(kind=R8P) | out | ||
moment | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
pressure | real(kind=R8P) | in | optional | |
pressure_per_piece | real(kind=R8P) | in | optional | |
shear | real(kind=R8P) | in | optional | |
gradient | real(kind=R8P) | in | optional | |
gyration | real(kind=R8P) | in | optional | |
about | real(kind=R8P) | in | optional | |
surface | type(surface_stl_object) | in | optional | |
per_patch_force | real(kind=R8P) | out | allocatable, optional | |
per_patch_moment | real(kind=R8P) | out | allocatable, optional | |
per_body_force | real(kind=R8P) | out | allocatable, optional | |
per_body_moment | real(kind=R8P) | out | allocatable, optional | |
area | real(kind=R8P) | out | optional | |
unassigned | integer(kind=I4P) | out | optional |
Call graph
cut_loads_2d
fortran
subroutine cut_loads_2d(walls, force, moment, status, pressure, pressure_per_piece, shear, gradient, about, curve, per_patch_force, per_patch_moment, per_body_force, per_body_moment, area)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
walls | type(cut_walls_2d_t) | in | ||
force | real(kind=R8P) | out | ||
moment | real(kind=R8P) | out | ||
status | integer(kind=I4P) | out | optional | |
pressure | real(kind=R8P) | in | optional | |
pressure_per_piece | real(kind=R8P) | in | optional | |
shear | real(kind=R8P) | in | optional | |
gradient | real(kind=R8P) | in | optional | |
about | real(kind=R8P) | in | optional | |
curve | type(curve_object) | in | optional | |
per_patch_force | real(kind=R8P) | out | allocatable, optional | |
per_patch_moment | real(kind=R8P) | out | allocatable, optional | |
per_body_force | real(kind=R8P) | out | allocatable, optional | |
per_body_moment | real(kind=R8P) | out | allocatable, optional | |
area | real(kind=R8P) | out | optional |
Call graph
walls_2d_alloc
fortran
subroutine walls_2d_alloc(walls, n)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
walls | type(cut_walls_2d_t) | inout | ||
n | integer(kind=I4P) | in |
Call graph
reduce
fortran
subroutine reduce(nc, n, ctr, idp, idb, tot, pp, pb)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
nc | integer(kind=I4P) | in | ||
n | integer(kind=I4P) | in | ||
ctr | real(kind=R8P) | in | ||
idp | integer(kind=I4P) | in | ||
idb | integer(kind=I4P) | in | ||
tot | real(kind=R8P) | out | allocatable | |
pp | real(kind=R8P) | out | allocatable | |
pb | real(kind=R8P) | out | allocatable |
Call graph
neumaier_add
Attributes: pure
fortran
subroutine neumaier_add(sm, cm, x)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
sm | real(kind=R8P) | inout | ||
cm | real(kind=R8P) | inout | ||
x | real(kind=R8P) | in |
Call graph
Functions
cut_loads_linear_pressure
Attributes: pure
Returns: real(kind=R8P)
fortran
function cut_loads_linear_pressure(points, p0, gradient) result(p)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
points | real(kind=R8P) | in | ||
p0 | real(kind=R8P) | in | ||
gradient | real(kind=R8P) | in |
cross3
Attributes: pure
Returns: real(kind=R8P)
fortran
function cross3(a, b) result(c)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
a | real(kind=R8P) | in | ||
b | real(kind=R8P) | in |
Call graph
sym_times
Attributes: pure
Returns: real(kind=R8P)
fortran
function sym_times(k6, g) result(kg)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
k6 | real(kind=R8P) | in | ||
g | real(kind=R8P) | in |
Call graph