Base abstract type for point zones.
More...
|
procedure, pass(this) | init_base (this, size, name, invert) |
| Constructor for the point_zone_t base type.
|
|
procedure, pass(this) | free_base (this) |
| Destructor for the point_zone_t base type.
|
|
procedure, pass(this) | finalize (this) |
| Builds the mask from the scratch stack.
|
|
procedure, pass(this) | add (this, idx) |
| Adds a point's linear index to the scratch stack.
|
|
procedure, pass(this) | map (this, dof) |
| Maps the GLL points that verify a point_zone's criterion by adding them to the stack.
|
|
procedure(point_zone_init), deferred, pass | init (this, json, size) |
| The common constructor using a JSON object.
|
|
procedure(point_zone_free), deferred, pass | free (this) |
| Destructor.
|
|
procedure(point_zone_criterion), deferred, pass | criterion (this, x, y, z, j, k, l, e) |
| Defines the criterion of selection of a GLL point to the point_zone.
|
|
Definition at line 47 of file point_zone.f90.
◆ add()
- Parameters
-
idx | Linear index of the point to add. |
- Note
- The linear index of a point
(j,k,l,e)
can be retrieved using the subroutine linear_index(j,k,l,e,lx)
in the utils
module.
Definition at line 71 of file point_zone.f90.
◆ criterion()
procedure(point_zone_criterion), deferred, pass point_zone::point_zone_t::criterion |
( |
class(point_zone_t), intent(in) |
this, |
|
|
real(kind=rp), intent(in) |
x, |
|
|
real(kind=rp), intent(in) |
y, |
|
|
real(kind=rp), intent(in) |
z, |
|
|
integer, intent(in) |
j, |
|
|
integer, intent(in) |
k, |
|
|
integer, intent(in) |
l, |
|
|
integer, intent(in) |
e |
|
) |
| |
|
pure virtual |
◆ finalize()
◆ free()
◆ free_base()
◆ init()
◆ init_base()
- Parameters
-
object | The object allocated by the factory. |
json | JSON object initializing the point zone. |
dof | Dofmap from which to map the point zone. Constructor for the point_zone_t base type. |
size | Size of the scratch stack. |
name | Name of the point zone. |
invert | Flag to indicate wether or not to invert the selection of points. |
Definition at line 65 of file point_zone.f90.
◆ map()
- Parameters
-
dof | Dofmap of points to go through. |
Definition at line 74 of file point_zone.f90.
◆ finalized
◆ invert
logical point_zone::point_zone_t::invert = .false. |
◆ mask
◆ mask_d
type(c_ptr) point_zone::point_zone_t::mask_d = c_null_ptr |
◆ name
character(len=80) point_zone::point_zone_t::name |
◆ scratch
◆ size
integer point_zone::point_zone_t::size = 0 |
The documentation for this type was generated from the following file: