Host-only temporary array.
More...
|
| procedure, pass(this) | init (this, size) |
| | Initialize the array.
|
| procedure, pass(this) | free (this) |
| | Free the array.
|
| procedure, pass(this) | size (this) |
| | Return the number of entries.
|
| procedure, pass(this) | is_allocated (this) |
| | Check whether storage is allocated.
|
| procedure, pass(this) | assign (this, source) |
| | Assignment with deep-copy ownership semantics.
|
| generic | assignment (this, source) |
| | Assignments.
|
|
| real(kind=rp), dimension(:), allocatable | x |
| | Host values.
|
|
| procedure, pass(this), private | allocate (this, size) |
| | Allocate the array.
|
|
| integer, private | n = 0 |
| | Number of entries.
|
Definition at line 42 of file host_array.f90.
◆ allocate()
| procedure, pass(this), private host_array::host_array_t::allocate |
( |
class(host_array_t), intent(inout) | this, |
|
|
integer, intent(in) | size ) |
|
private |
- Parameters
-
| this | host array object. |
| size | Number of entries to allocate. |
Definition at line 53 of file host_array.f90.
◆ assign()
| procedure, pass(this) host_array::host_array_t::assign |
( |
class(host_array_t), intent(inout) | this, |
|
|
class(host_array_t), intent(in) | source ) |
- Parameters
-
| this | Destination host array object. |
| source | Source host array object. |
Definition at line 59 of file host_array.f90.
◆ assignment()
| generic host_array::host_array_t::assignment |
( |
class(host_array_t), intent(inout) | this, |
|
|
class(host_array_t), intent(in) | source ) |
- Parameters
-
| this | Destination host array object. |
| source | Source host array object. |
Definition at line 62 of file host_array.f90.
◆ free()
| procedure, pass(this) host_array::host_array_t::free |
( |
class(host_array_t), intent(inout) | this | ) |
|
◆ init()
| procedure, pass(this) host_array::host_array_t::init |
( |
class(host_array_t), intent(inout) | this, |
|
|
integer, intent(in) | size ) |
- Parameters
-
| this | Host array object. |
| size | Number of entries to allocate. |
Definition at line 49 of file host_array.f90.
◆ is_allocated()
| procedure, pass(this) host_array::host_array_t::is_allocated |
( |
class(host_array_t), intent(in) | this | ) |
|
◆ size()
| procedure, pass(this) host_array::host_array_t::size |
( |
class(host_array_t), intent(in) | this | ) |
|
| integer, private host_array::host_array_t::n = 0 |
|
private |
| real(kind=rp), dimension(:), allocatable host_array::host_array_t::x |
The documentation for this type was generated from the following file: