Neko  0.9.99
A portable framework for high-order spectral element flow simulations
vector.f90 File Reference

Go to the source code of this file.

Data Types

type  vector::vector_t
 
type  vector::vector_ptr_t
 

Modules

module  vector
 Defines a vector.
 

Functions/Subroutines

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