Neko  0.9.0
A portable framework for high-order spectral element flow simulations
vector Module Reference

Defines a vector.

Data Types

type  vector_t
 
type  vector_ptr_t
 

Functions/Subroutines

subroutine vector_init (v, n)
 Initialise a vector of size n. More...
 
subroutine vector_free (v)
 Deallocate a vector. More...
 
integer function vector_size (v)
 Return the number of entries in the vector. More...
 
subroutine vector_assign_vector (v, w)
 Assignment \( v = w \). More...
 
subroutine vector_assign_scalar (v, s)
 Assignment \( v = s \). More...
 
type(vector_t) function vector_add_vector (a, b)
 Vector-vector addition \( v = a + b \). More...
 
type(vector_t) function vector_add_scalar_left (a, c)
 Vector-scalar addition \( v = a + c \). More...
 
type(vector_t) function vector_add_scalar_right (c, a)
 Scalar-vector addition \( v = c + a \). More...
 
type(vector_t) function vector_sub_vector (a, b)
 Vector-vector subtraction \( v = a - b \). More...
 
type(vector_t) function vector_sub_scalar_left (a, c)
 Vector-scalar subtraction \( v = a - c \). More...
 
type(vector_t) function vector_sub_scalar_right (c, a)
 Scalar-vector subtraction \( v = c - a \). More...
 
type(vector_t) function vector_cmult_left (a, c)
 Vector-scalar multiplication \( v = a*c \). More...
 
type(vector_t) function vector_cmult_right (c, a)
 Scalar-vector multiplication \( v = c*a \). More...
 

Function/Subroutine Documentation

◆ vector_add_scalar_left()

type(vector_t) function vector::vector_add_scalar_left ( class(vector_t), intent(in)  a,
real(kind=rp), intent(in)  c 
)
private

Definition at line 206 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_add_scalar_right()

type(vector_t) function vector::vector_add_scalar_right ( real(kind=rp), intent(in)  c,
class(vector_t), intent(in)  a 
)
private

Definition at line 227 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_add_vector()

type(vector_t) function vector::vector_add_vector ( class(vector_t), intent(in)  a,
class(vector_t), intent(in)  b 
)
private

Definition at line 184 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_assign_scalar()

subroutine vector::vector_assign_scalar ( class(vector_t), intent(inout)  v,
real(kind=rp), intent(in)  s 
)
private

Definition at line 167 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_assign_vector()

subroutine vector::vector_assign_vector ( class(vector_t), intent(inout)  v,
type(vector_t), intent(in)  w 
)
private

Definition at line 139 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_cmult_left()

type(vector_t) function vector::vector_cmult_left ( class(vector_t), intent(in)  a,
real(kind=rp), intent(in)  c 
)
private

Definition at line 297 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_cmult_right()

type(vector_t) function vector::vector_cmult_right ( real(kind=rp), intent(in)  c,
class(vector_t), intent(in)  a 
)
private

Definition at line 318 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_free()

subroutine vector::vector_free ( class(vector_t), intent(inout)  v)
private

Definition at line 116 of file vector.f90.

Here is the call graph for this function:

◆ vector_init()

subroutine vector::vector_init ( class(vector_t), intent(inout)  v,
integer, intent(in)  n 
)

Definition at line 97 of file vector.f90.

Here is the call graph for this function:

◆ vector_size()

integer function vector::vector_size ( class(vector_t), intent(inout)  v)
private

Definition at line 132 of file vector.f90.

◆ vector_sub_scalar_left()

type(vector_t) function vector::vector_sub_scalar_left ( class(vector_t), intent(in)  a,
real(kind=rp), intent(in)  c 
)
private

Definition at line 259 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_sub_scalar_right()

type(vector_t) function vector::vector_sub_scalar_right ( real(kind=rp), intent(in)  c,
class(vector_t), intent(in)  a 
)
private

Definition at line 280 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ vector_sub_vector()

type(vector_t) function vector::vector_sub_vector ( class(vector_t), intent(in)  a,
class(vector_t), intent(in)  b 
)
private

Definition at line 237 of file vector.f90.

Here is the call graph for this function:
Here is the caller graph for this function: