Neko 0.9.99
A portable framework for high-order spectral element flow simulations
|
Public Member Functions | |
procedure, pass(v) | init (v, n) |
Initialise a vector of size n . | |
procedure, pass(v) | free (v) |
Deallocate a vector. | |
procedure, pass(v) | size (v) |
Returns the number of entries in the vector. | |
procedure, pass(v) | vector_assign_vector (v, w) |
Assignment \( v = w \). | |
procedure, pass(v) | vector_assign_scalar (v, s) |
Assignment \( v = s \). | |
procedure, pass(a) | vector_add_vector (a, b) |
Vector-vector addition \( v = a + b \). | |
procedure, pass(a) | vector_add_scalar_left (a, c) |
Vector-scalar addition \( v = a + c \). | |
procedure, pass(a) | vector_add_scalar_right (c, a) |
Scalar-vector addition \( v = c + a \). | |
procedure, pass(a) | vector_sub_vector (a, b) |
Vector-vector subtraction \( v = a - b \). | |
procedure, pass(a) | vector_sub_scalar_left (a, c) |
Vector-scalar subtraction \( v = a - c \). | |
procedure, pass(a) | vector_sub_scalar_right (c, a) |
Scalar-vector subtraction \( v = c - a \). | |
procedure, pass(a) | vector_cmult_left (a, c) |
Vector-scalar multiplication \( v = a*c \). | |
procedure, pass(a) | vector_cmult_right (c, a) |
Scalar-vector multiplication \( v = c*a \). | |
generic | assignment (v, w) |
Assignment \( v = w \). | |
generic | assignment (v, s) |
Assignment \( v = s \). | |
generic | operator (a, b) |
Vector-vector addition \( v = a + b \). | |
generic | operator (a, c) |
Vector-scalar addition \( v = a + c \). | |
generic | operator (c, a) |
Scalar-vector addition \( v = c + a \). | |
generic | operator (a, b) |
Vector-vector subtraction \( v = a - b \). | |
generic | operator (a, c) |
Vector-scalar subtraction \( v = a - c \). | |
generic | operator (c, a) |
Scalar-vector subtraction \( v = c - a \). | |
generic | operator (a, c) |
Vector-scalar multiplication \( v = a*c \). | |
generic | operator (c, a) |
Scalar-vector multiplication \( v = c*a \). | |
Public Attributes | |
real(kind=rp), dimension(:), allocatable | x |
Vector entries. | |
type(c_ptr) | x_d = C_NULL_PTR |
Device pointer. | |
integer | n = 0 |
Size of vector. | |
Definition at line 46 of file vector.f90.
generic vector::vector_t::assignment | ( | class(vector_t), intent(inout) | v, |
real(kind=rp), intent(in) | s | ||
) |
Definition at line 81 of file vector.f90.
Definition at line 57 of file vector.f90.
procedure, pass(v) vector::vector_t::init | ( | class(vector_t), intent(inout) | v, |
integer, intent(in) | n | ||
) |
Definition at line 55 of file vector.f90.
Definition at line 83 of file vector.f90.
Definition at line 85 of file vector.f90.
Definition at line 83 of file vector.f90.
Definition at line 85 of file vector.f90.
Definition at line 87 of file vector.f90.
Definition at line 59 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_add_scalar_left | ( | class(vector_t), intent(in) | a, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 67 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_add_scalar_right | ( | real(kind=rp), intent(in) | c, |
class(vector_t), intent(in) | a | ||
) |
Definition at line 69 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_add_vector | ( | class(vector_t), intent(in) | a, |
class(vector_t), intent(in) | b | ||
) |
Definition at line 65 of file vector.f90.
procedure, pass(v) vector::vector_t::vector_assign_scalar | ( | class(vector_t), intent(inout) | v, |
real(kind=rp), intent(in) | s | ||
) |
Definition at line 63 of file vector.f90.
procedure, pass(v) vector::vector_t::vector_assign_vector | ( | class(vector_t), intent(inout) | v, |
type(vector_t), intent(in) | w | ||
) |
Definition at line 61 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_cmult_left | ( | class(vector_t), intent(in) | a, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 77 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_cmult_right | ( | real(kind=rp), intent(in) | c, |
class(vector_t), intent(in) | a | ||
) |
Definition at line 79 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_sub_scalar_left | ( | class(vector_t), intent(in) | a, |
real(kind=rp), intent(in) | c | ||
) |
Definition at line 73 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_sub_scalar_right | ( | real(kind=rp), intent(in) | c, |
class(vector_t), intent(in) | a | ||
) |
Definition at line 75 of file vector.f90.
procedure, pass(a) vector::vector_t::vector_sub_vector | ( | class(vector_t), intent(in) | a, |
class(vector_t), intent(in) | b | ||
) |
Definition at line 71 of file vector.f90.
integer vector::vector_t::n = 0 |
Definition at line 52 of file vector.f90.
real(kind=rp), dimension(:), allocatable vector::vector_t::x |
Definition at line 48 of file vector.f90.
type(c_ptr) vector::vector_t::x_d = C_NULL_PTR |
Definition at line 50 of file vector.f90.