| 
    Neko 1.99.1
    
   A portable framework for high-order spectral element flow simulations 
   | 
 
Defines a vector.
Data Types | |
| type | vector_ptr_t | 
| type | vector_t | 
Functions/Subroutines | |
| subroutine | vector_init (v, n) | 
| Initialise a vector of size n.   | |
| subroutine | vector_allocate (a, n) | 
| Vector allocation without initialisation.   | |
| subroutine | vector_free (v) | 
| Deallocate a vector.   | |
| pure integer function | vector_size (v) | 
| Return the number of entries in the vector.   | |
| subroutine | vector_copy_from (v, memdir, sync) | 
| Easy way to copy between host and device.   | |
| subroutine | vector_assign_vector (v, w) | 
| Assignment \( v = w \).   | |
| subroutine | vector_assign_scalar (v, s) | 
| Assignment \( v = s \).   | |
      
  | 
  private | 
Definition at line 99 of file vector.f90.
      
  | 
  private | 
Definition at line 170 of file vector.f90.


      
  | 
  private | 
Definition at line 156 of file vector.f90.


      
  | 
  private | 
| v | vector to copy to/from device/host @memdir direction to copy (HOST_TO_DEVICE or DEVICE_TO_HOST) @sync whether the memcopy to be blocking or not | 
Definition at line 143 of file vector.f90.
      
  | 
  private |