Appearance
fossil_block_object
Source: src/lib/fossil_block_object.f90
Dependencies
Contents
- block_object
- compute_cells_centers
- compute_distances
- export_aabb_tecplot_ascii
- export_vtk_file
- export_xall_files
- extrapolate_distances
- get_closest_cells_indexes
- initialize
- block_assign_block
Derived Types
block_object
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
bmin | type(vector_R8P) | ||
bmax | type(vector_R8P) | ||
ni | integer(kind=I4P) | ||
nj | integer(kind=I4P) | ||
nk | integer(kind=I4P) | ||
gi | integer(kind=I4P) | ||
gj | integer(kind=I4P) | ||
gk | integer(kind=I4P) | ||
ei | integer(kind=I4P) | ||
ej | integer(kind=I4P) | ||
ek | integer(kind=I4P) | ||
Dx | real(kind=R8P) | ||
Dy | real(kind=R8P) | ||
Dz | real(kind=R8P) | ||
refinement_levels | integer(kind=I4P) | ||
Naabb | integer(kind=I4P) | ||
aabb | type(aabb_object) | allocatable | |
nodes | type(vector_R8P) | allocatable | |
centers | type(vector_R8P) | allocatable | |
distances | real(kind=R8P) | allocatable |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
compute_cells_centers | pass(self) | |
compute_distances | pass(self) | |
export_aabb_tecplot_ascii | pass(self) | |
export_vtk_file | pass(self) | |
export_xall_files | pass(self) | |
extrapolate_distances | pass(self) | |
get_closest_cells_indexes | pass(self) | |
initialize | pass(self) | |
assignment(=) | ||
block_assign_block | pass(lhs) |
Subroutines
compute_cells_centers
Attributes: pure
fortran
subroutine compute_cells_centers(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | inout |
Call graph
compute_distances
fortran
subroutine compute_distances(self, surface_stl, is_signed, sign_algorithm, invert_sign)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | inout | ||
surface_stl | type(surface_stl_object) | in | ||
is_signed | logical | in | ||
sign_algorithm | character(len=*) | in | ||
invert_sign | logical | in | optional |
Call graph
export_aabb_tecplot_ascii
fortran
subroutine export_aabb_tecplot_ascii(self, file_name)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | in | ||
file_name | character(len=*) | in |
Call graph
export_vtk_file
fortran
subroutine export_vtk_file(self, file_name)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | in | ||
file_name | character(len=*) | in |
Call graph
export_xall_files
fortran
subroutine export_xall_files(self, basename)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | in | ||
basename | character(len=*) | in |
extrapolate_distances
fortran
subroutine extrapolate_distances(self)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | inout |
Call graph
get_closest_cells_indexes
fortran
subroutine get_closest_cells_indexes(self, point, cindexes)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | in | ||
point | type(vector_R8P) | in | ||
cindexes | integer(kind=I4P) | out |
Call graph
initialize
Attributes: pure
fortran
subroutine initialize(self, bmin, bmax, ni, nj, nk, gi, gj, gk, ei, ej, ek, refinement_levels)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(block_object) | inout | ||
bmin | type(vector_R8P) | in | optional | |
bmax | type(vector_R8P) | in | optional | |
ni | integer(kind=I4P) | in | optional | |
nj | integer(kind=I4P) | in | optional | |
nk | integer(kind=I4P) | in | optional | |
gi | integer(kind=I4P) | in | optional | |
gj | integer(kind=I4P) | in | optional | |
gk | integer(kind=I4P) | in | optional | |
ei | integer(kind=I4P) | in | optional | |
ej | integer(kind=I4P) | in | optional | |
ek | integer(kind=I4P) | in | optional | |
refinement_levels | integer(kind=I4P) | in | optional |
Call graph
block_assign_block
Attributes: pure
fortran
subroutine block_assign_block(lhs, rhs)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
lhs | class(block_object) | inout | ||
rhs | type(block_object) | in |