MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
Data Types | |
type | petscvectortype |
Functions/Subroutines | |
subroutine | petsc_vec_create_mm (this, n, name, mem_path) |
Create a PETSc vector, with memory. More... | |
subroutine | petsc_vec_create (this, n) |
Create a PETSc vector, with memory. More... | |
subroutine | petsc_vec_destroy (this) |
Clean up. More... | |
real(dp) function, dimension(:), pointer, contiguous | petsc_vec_get_array (this) |
Get a pointer to the underlying data array. More... | |
subroutine | petsc_vec_get_ownership_range (this, start, end) |
integer(i4b) function | petsc_vec_get_size (this) |
real(dp) function | petsc_vec_get_value_local (this, idx) |
Gets a value from the vector at the local index. More... | |
subroutine | petsc_vec_zero_entries (this) |
set all elements to zero More... | |
subroutine | petsc_vec_set_value_local (this, idx, val) |
Set vector value at local index. More... | |
subroutine | petsc_vec_axpy (this, alpha, vec_x) |
Calculate AXPY: y = a*x + y. More... | |
real(dp) function | petsc_vec_norm2 (this) |
Calculate this vector's (global) 2-norm. More... | |
subroutine | petsc_vec_print (this) |
|
private |
this | this vector |
alpha | the factor |
vec_x | the vector to add |
Definition at line 178 of file PetscVector.F90.
|
private |
this | this vector |
n | the nr. of elements in the vector |
Definition at line 61 of file PetscVector.F90.
subroutine petscvectormodule::petsc_vec_create_mm | ( | class(petscvectortype) | this, |
integer(i4b) | n, | ||
character(len=*) | name, | ||
character(len=*) | mem_path | ||
) |
this | this vector |
n | the nr. of elements in the vector |
name | the variable name (for access through memory manager) |
mem_path | memory path for storing the underlying memory items |
Definition at line 35 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 85 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 102 of file PetscVector.F90.
|
private |
this | this vector |
start | the index of the first element (owned by this process) in the global vector |
end | the index of the last element (owned by this process) in the global vector |
Definition at line 110 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 127 of file PetscVector.F90.
|
private |
this | this vector |
idx | the index in local numbering |
Definition at line 140 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 198 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 209 of file PetscVector.F90.
|
private |
this | this vector |
idx | the index in local numbering |
val | the value to set |
Definition at line 167 of file PetscVector.F90.
|
private |
this | this vector |
Definition at line 151 of file PetscVector.F90.