![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|


Public Member Functions | |
| procedure | create_mm (this, n, name, mem_path) |
| Create a sequential vector: the classic MF6 version,. | |
| procedure | create (this, n) |
| Create a sequential vector: the classic MF6 version. | |
| procedure | destroy (this) |
| Clean up. | |
| procedure | get_array (this) |
| Get a pointer to the underlying data array. | |
| procedure | get_ownership_range (this, start, end) |
| procedure | get_size (this) |
| procedure | get_value_local (this, idx) |
| Get value at local index. | |
| procedure | zero_entries (this) |
| set all elements to zero | |
| procedure | set_value_local (this, idx, val) |
| Set vector value at local index. | |
| procedure | axpy (this, alpha, vec_x) |
| Caculcates AXPY: y = a*x + y. | |
| procedure | norm2 (this) |
| Calculate the 2-norm. | |
| procedure | print (this) |
| procedure(create_mm_if), deferred | create_mm (this, n, name, mem_path) |
| procedure(destroy_if), deferred | destroy (this) |
| procedure(get_array_if), deferred | get_array (this) |
| procedure(get_ownership_range_if), deferred | get_ownership_range (this, start, end) |
| procedure(get_size_if), deferred | get_size (this) |
| procedure(get_value_local_if), deferred | get_value_local (this, idx) |
| procedure(zero_entries_if), deferred | zero_entries (this) |
| procedure(set_value_local_if), deferred | set_value_local (this, idx, val) |
| procedure(axpy_if), deferred | axpy (this, alpha, vec_x) |
| procedure(norm2_if), deferred | norm2 (this) |
| procedure(print_if), deferred | print (this) |
Public Attributes | |
| real(dp), dimension(:), pointer, contiguous | array |
| logical(lgp) | is_mem_managed |
Private Attributes | |
| integer(i4b), private | size |
Definition at line 9 of file SeqVector.f90.
| procedure seqvectormodule::seqvectortype::axpy | ( | class(seqvectortype) | this, |
| real(dp) | alpha, | ||
| class(vectorbasetype), pointer | vec_x ) |
| this | this vector |
| alpha | the factor |
| vec_x | the vector to add |
Definition at line 22 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector y => alpha*x + y |
| alpha | the factor |
| vec_x | the vector to add |
Definition at line 17 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::create | ( | class(seqvectortype) | this, |
| integer(i4b) | n ) |
| this | this vector |
| n | the nr. of elements in the vector |
Definition at line 14 of file SeqVector.f90.
| procedure seqvectormodule::seqvectortype::create_mm | ( | class(seqvectortype) | 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 13 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
| n | the nr. of elements in the (local) vector |
| name | the variable name (for access through memory manager) |
| mem_path | memory path for storing the underlying memory items |
Definition at line 9 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::destroy | ( | class(seqvectortype) | this | ) |
| this | this vector |
Definition at line 15 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
Definition at line 10 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::get_array | ( | class(seqvectortype) | this | ) |
| this | this vector |
Definition at line 16 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
Definition at line 11 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::get_ownership_range | ( | class(seqvectortype) | this, |
| integer(i4b) | start, | ||
| integer(i4b) | end ) |
| this | this vector |
| start | the index of the first element in the vector |
| end | the index of the last element in the vector |
Definition at line 17 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
| end | local range in global numbering |
Definition at line 12 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::get_size | ( | class(seqvectortype) | this | ) |
|
pure virtualinherited |
| this | this vector |
Definition at line 13 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::get_value_local | ( | class(seqvectortype) | this, |
| integer(i4b) | idx ) |
| this | this vector |
| idx | the index in local numbering |
Definition at line 19 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
| idx | index in local numbering |
Definition at line 14 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::norm2 | ( | class(seqvectortype) | this | ) |
| this | this vector |
Definition at line 23 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
Definition at line 18 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::print | ( | class(seqvectortype) | this | ) |
| this | this vector |
Definition at line 24 of file SeqVector.f90.
|
pure virtualinherited |
Definition at line 19 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::set_value_local | ( | class(seqvectortype) | this, |
| integer(i4b) | idx, | ||
| real(dp) | val ) |
| this | this vector |
| idx | the index in local numbering |
| val | the value to set |
Definition at line 21 of file SeqVector.f90.
|
pure virtualinherited |
| this | this vector |
| idx | index in local numbering |
| val | the value to set |
Definition at line 16 of file VectorBase.f90.
| procedure seqvectormodule::seqvectortype::zero_entries | ( | class(seqvectortype) | this | ) |
| this | this vector |
Definition at line 20 of file SeqVector.f90.
|
pure virtualinherited |
Definition at line 15 of file VectorBase.f90.
| real(dp), dimension(:), pointer, contiguous seqvectormodule::seqvectortype::array |
Definition at line 11 of file SeqVector.f90.
|
inherited |
Definition at line 7 of file VectorBase.f90.
|
private |
Definition at line 10 of file SeqVector.f90.