MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
PetscVector.F90 File Reference
#include <petsc/finclude/petscksp.h>
Include dependency graph for PetscVector.F90:

Go to the source code of this file.

Data Types

type  petscvectormodule::petscvectortype
 

Modules

module  petscvectormodule
 

Functions/Subroutines

subroutine petscvectormodule::petsc_vec_create_mm (this, n, name, mem_path)
 Create a PETSc vector, with memory. More...
 
subroutine petscvectormodule::petsc_vec_create (this, n)
 Create a PETSc vector, with memory. More...
 
subroutine petscvectormodule::petsc_vec_destroy (this)
 Clean up. More...
 
real(dp) function, dimension(:), pointer, contiguous petscvectormodule::petsc_vec_get_array (this)
 Get a pointer to the underlying data array. More...
 
subroutine petscvectormodule::petsc_vec_get_ownership_range (this, start, end)
 
integer(i4b) function petscvectormodule::petsc_vec_get_size (this)
 
real(dp) function petscvectormodule::petsc_vec_get_value_local (this, idx)
 Gets a value from the vector at the local index. More...
 
subroutine petscvectormodule::petsc_vec_zero_entries (this)
 set all elements to zero More...
 
subroutine petscvectormodule::petsc_vec_set_value_local (this, idx, val)
 Set vector value at local index. More...
 
subroutine petscvectormodule::petsc_vec_axpy (this, alpha, vec_x)
 Calculate AXPY: y = a*x + y. More...
 
real(dp) function petscvectormodule::petsc_vec_norm2 (this)
 Calculate this vector's (global) 2-norm. More...
 
subroutine petscvectormodule::petsc_vec_print (this)