|
The Open FUSION Toolkit 1.0.0-beta6
Modeling tools for plasma and fusion research and engineering
|
Needs docs.

Public Member Functions | |
| procedure | add_values (self, i_inds, j_inds, b, n, m, iblock, jblock, loc_cache) |
| Add values to a matrix. | |
| procedure(mat_add_values), deferred | add_values (self, i_inds, j_inds, b, n, m, iblock, jblock, loc_cache) |
| Add values to the matrix. | |
| generic | apply (self, a, b) |
| Compute matrix-vector product. | |
| generic | apply (self, a, b) |
| Compute matrix-vector product. | |
| procedure | apply_complex (self, a, b) |
| Compute matrix vector product (complex) | |
| procedure | apply_real (self, a, b) |
| Apply the matrix to a field. | |
| procedure(mat_apply_vec), deferred | apply_real (self, a, b) |
| procedure | apply_real (self, a, b) |
| Apply operator. | |
| generic | applyt (self, a, b) |
| Compute matrix-vector product for matrix transpose. | |
| generic | applyt (self, a, b) |
| Compute matrix-vector product for matrix transpose. | |
| procedure | applyt_complex (self, a, b) |
| Apply the matrix to a field. | |
| procedure | applyt_complex (self, a, b) |
| Apply matrix vector product for matrix transpose (complex vector) | |
| procedure | applyt_real (self, a, b) |
| Apply the matrix to a field. | |
| procedure(mat_apply_vec), deferred | applyt_real (self, a, b) |
| procedure | assemble (self, diag) |
| Finish assembly of matrix and optionally extract diagonals. | |
| procedure(mat_assemble), deferred | assemble (self, diag) |
| Complete matrix assembly. | |
| procedure | atomic_add_values (self, i_inds, j_inds, b, n, m, iblock, jblock, loc_cache) |
| Add values to a matrix. | |
| procedure(mat_add_values), deferred | atomic_add_values (self, i_inds, j_inds, b, n, m, iblock, jblock, loc_cache) |
| Add values atomically to the matrix. | |
| procedure | delete (self) |
| Delete matrix. | |
| procedure | delete (self) |
| Delete matrix. | |
| procedure | delete (self) |
| Delete operator, deallocating internal storage. | |
| procedure | set_values (self, i_inds, j_inds, b, n, m, iblock, jblock) |
| Set values of a matrix. | |
| procedure(mat_set_values), deferred | set_values (self, i_inds, j_inds, b, n, m, iblock, jblock) |
| Set values of the matrix. | |
| procedure | setup (self, eq_in) |
| Setup operator, allocating internal storage. | |
| procedure | update (self) |
| Update operator with new targets, etc. | |
| procedure | zero (self) |
| Zero all entries in matrix. | |
| procedure(mat_zero), deferred | zero (self) |
| Zero all elements. | |
| procedure | zero_rows (self, nrows, irows, iblock, keep_diag) |
| Zero all entries in the specified rows. | |
| procedure(mat_zero_rows), deferred | zero_rows (self, nrows, irows, iblock, keep_diag) |
| Zero all elements in a given row. | |
Public Attributes | |
| real(8), dimension(:), pointer | curr_reg => NULL() |
| Coil current by region. | |
| class(oft_vector), pointer | d => NULL() |
| Diagonal entries for scaling. | |
| real(r8) | dt = 1.E-3_r8 |
| Time step size [s]. | |
| real(r8) | estored = 0.d0 |
| Stored energy at present step. | |
| real(8), dimension(:), pointer | eta_reg => NULL() |
| Resistivity by region. | |
| class(flux_func), pointer | f => NULL() |
| Flux function for \( F*F' \) term. | |
| real(r8) | f_scale = 1.d0 |
| Scale factor for \( F*F' \) term. | |
| logical | force_local = .FALSE. |
| Do not stitch resulting vector? (Native ONLY) | |
| type(gs_eq), pointer | gs_eq => NULL() |
| Equilibrium object. | |
| type(oft_map), dimension(:), pointer | i_map => NULL() |
| Row block mapping. | |
| real(r8) | ip = 0.d0 |
| Plasma current at present step. | |
| real(r8) | ip_ratio_target = -1.d0 |
| Ip ratio target. | |
| real(r8) | ip_target = -1.d0 |
| Target plasma current. | |
| type(oft_map), dimension(:), pointer | j_map => NULL() |
| Column block mapping. | |
| integer(i4) | nc |
| Local number of columns. | |
| integer(i8) | ncg |
| Gobal number of columns. | |
| integer(i4) | ncslice = 0 |
| Number of owned columns. | |
| integer(i4) | ni = 0 |
| Number of row blocks. | |
| integer(i4) | nj = 0 |
| Number of column blocks. | |
| integer(i4) | nr |
| Local number of rows. | |
| integer(i8) | nrg |
| Gobal number of rows. | |
| integer(i4) | nrslice = 0 |
| Number of owned rows. | |
| class(flux_func), pointer | p => NULL() |
| Flux function for \( P' \) term. | |
| real(r8) | p_scale = 1.d0 |
| Scale factor for \( P' \) term. | |
| class(oft_matrix), pointer | vac_op => NULL() |
| Vacuum time-advance operator. | |
|
inherited |
Add values to a matrix.
| [in] | i_inds | Row indices of entries to add [n] |
| [in] | j_inds | Column indices of entries to add [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
| [in,out] | loc_cache | Cache of entry locations |
|
pure virtualinherited |
Add values to the matrix.
| [in,out] | self | Matrix object |
| [in] | i_inds | Row indices of entries to add [n] |
| [in] | j_inds | Column indices of entries to add [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
| [in,out] | loc_cache | Cache of entry locations |
|
inherited |
Compute matrix-vector product.
| [in,out] | self | Matrix object |
| [in,out] | a | Source vector |
| [in,out] | b | Result of matrix product |
|
inherited |
Compute matrix-vector product.
b = self * a
| [in,out] | self | Matrix object |
| [in,out] | a | Vector object |
| [in,out] | b | Result vector |
|
inherited |
Compute matrix vector product (complex)
b = self * a
| [in,out] | self | Matrix object |
| [in,out] | a | Vector object |
| [in,out] | b | Result vector |
|
inherited |
Apply the matrix to a field.
b = self * a
| [in,out] | a | Source field |
| [in,out] | b | Result of matrix product |
|
pure virtualinherited |
| [in,out] | self | Matrix object |
| [in,out] | a | Source vector |
| [in,out] | b | Result of matrix product |
| procedure apply_real | ( | class(oft_tmaker_td_mfop), intent(inout) | self, |
| class(oft_vector), intent(inout), target | a, | ||
| class(oft_vector), intent(inout) | b | ||
| ) |
Apply operator.
| [in,out] | self | NL operator object |
| [in,out] | a | Source field |
| [in,out] | b | Result of metric function |
|
inherited |
Compute matrix-vector product for matrix transpose.
b = self^T * a
| [in,out] | self | Matrix object |
| [in,out] | a | Vector object |
| [in,out] | b | Result vector |
|
inherited |
Compute matrix-vector product for matrix transpose.
| [in,out] | self | Matrix object |
| [in,out] | a | Source vector |
| [in,out] | b | Result of matrix product |
|
inherited |
Apply the matrix to a field.
b = self * a
| [in,out] | a | Source field |
| [in,out] | b | Result of matrix product |
|
inherited |
Apply matrix vector product for matrix transpose (complex vector)
b = self^T * a
| [in,out] | self | Matrix object |
| [in,out] | a | Vector object |
| [in,out] | b | Result vector |
|
inherited |
Apply the matrix to a field.
b = self * a
| [in,out] | a | Source field |
| [in,out] | b | Result of matrix product |
|
pure virtualinherited |
| [in,out] | self | Matrix object |
| [in,out] | a | Source vector |
| [in,out] | b | Result of matrix product |
|
inherited |
Finish assembly of matrix and optionally extract diagonals.
| [in,out] | diag | Diagonal entries of matrix [nr] (optional) |
|
pure virtualinherited |
Complete matrix assembly.
| [in,out] | self | Matrix object |
| [in,out] | diag | Diagonal entries of matrix [nr] (optional) |
|
inherited |
Add values to a matrix.
| [in] | i_inds | Row indices of entries to add [n] |
| [in] | j_inds | Column indices of entries to add [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
| [in,out] | loc_cache | Cache of entry locations |
|
pure virtualinherited |
Add values atomically to the matrix.
| [in,out] | self | Matrix object |
| [in] | i_inds | Row indices of entries to add [n] |
| [in] | j_inds | Column indices of entries to add [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
| [in,out] | loc_cache | Cache of entry locations |
|
inherited |
Delete matrix.
|
inherited |
Delete matrix.
| procedure delete | ( | class(oft_tmaker_td_mfop), intent(inout) | self | ) |
Delete operator, deallocating internal storage.
| [in,out] | self | NL operator object |
|
inherited |
Set values of a matrix.
| [in] | i_inds | Row indices of entries to set [n] |
| [in] | j_inds | Column indices of entries to set [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
|
pure virtualinherited |
Set values of the matrix.
| [in,out] | self | Matrix object |
| [in] | i_inds | Row indices of entries to set [n] |
| [in] | j_inds | Column indices of entries to set [m] |
| [in] | b | Values to set [n,m] |
| [in] | n | Number of rows in local matrix |
| [in] | m | Number of columns in local matrix |
| [in] | iblock | Row block (optional) |
| [in] | jblock | Column block (optional) |
| procedure setup | ( | class(oft_tmaker_td_mfop), intent(inout) | self, |
| type(gs_eq), intent(inout), target | eq_in | ||
| ) |
Setup operator, allocating internal storage.
| [in,out] | self | NL operator object |
| procedure update | ( | class(oft_tmaker_td_mfop), intent(inout) | self | ) |
Update operator with new targets, etc.
| [in,out] | self | NL operator object |
|
inherited |
Zero all entries in matrix.
|
pure virtualinherited |
Zero all elements.
| [in,out] | self | Matrix object |
|
inherited |
Zero all entries in the specified rows.
| [in] | nrows | Number of rows to zero |
| [in] | irows | Indices of rows to zero [nrows] |
| [in] | iblock | Row block (optional) |
| [in] | keep_diag | Keep diagonal entries |
|
pure virtualinherited |
Zero all elements in a given row.
| [in,out] | self | Matrix object |
| [in] | nrows | Number of rows to zero |
| [in] | irows | Indices of rows to zero [nrows] |
| [in] | iblock | Row block (optional) |
| [in] | keep_diag | Keep diagonal entries |
| real(8), dimension(:), pointer curr_reg => NULL() |
Coil current by region.
|
inherited |
Diagonal entries for scaling.
| real(r8) dt = 1.E-3_r8 |
Time step size [s].
| real(r8) estored = 0.d0 |
Stored energy at present step.
| real(8), dimension(:), pointer eta_reg => NULL() |
Resistivity by region.
| class(flux_func), pointer f => NULL() |
Flux function for \( F*F' \) term.
| real(r8) f_scale = 1.d0 |
Scale factor for \( F*F' \) term.
|
inherited |
Do not stitch resulting vector? (Native ONLY)
|
inherited |
Row block mapping.
| real(r8) ip = 0.d0 |
Plasma current at present step.
| real(r8) ip_ratio_target = -1.d0 |
Ip ratio target.
| real(r8) ip_target = -1.d0 |
Target plasma current.
|
inherited |
Column block mapping.
|
inherited |
Local number of columns.
|
inherited |
Gobal number of columns.
|
inherited |
Number of owned columns.
|
inherited |
Number of row blocks.
|
inherited |
Number of column blocks.
|
inherited |
Local number of rows.
|
inherited |
Gobal number of rows.
|
inherited |
Number of owned rows.
| class(flux_func), pointer p => NULL() |
Flux function for \( P' \) term.
| real(r8) p_scale = 1.d0 |
Scale factor for \( P' \) term.
| class(oft_matrix), pointer vac_op => NULL() |
Vacuum time-advance operator.