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

Defines a vector. More...

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...
 

Detailed Description

Defines a vector.

Function/Subroutine Documentation

◆ vector_assign_scalar()

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

Assignment \( v = s \).

Definition at line 135 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

Assignment \( v = w \).

Definition at line 107 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

Deallocate a vector.

Definition at line 84 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 
)

Initialise a vector of size n.

Definition at line 65 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

Return the number of entries in the vector.

Definition at line 100 of file vector.f90.