| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_backend_t), | intent(inout), | target | :: | backend |
Defines vector calculus operators
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| class(base_backend_t), | public, | pointer | :: | backend |
| public function init (backend) |
| procedure, public :: curl | |
| procedure, public :: divergence_v2c | |
| procedure, public :: gradient_c2v | |
| procedure, public :: laplacian |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(base_backend_t), | intent(inout), | target | :: | backend |
Curl of a vector field (u, v, w).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_calculus_t) | :: | self | ||||
| class(field_t), | intent(inout) | :: | o_i_hat |
Vector components of the output vector field Omega |
||
| class(field_t), | intent(inout) | :: | o_j_hat |
Vector components of the output vector field Omega |
||
| class(field_t), | intent(inout) | :: | o_k_hat |
Vector components of the output vector field Omega |
||
| class(field_t), | intent(in) | :: | u | |||
| class(field_t), | intent(in) | :: | v | |||
| class(field_t), | intent(in) | :: | w | |||
| class(tdsops_t), | intent(in) | :: | x_der1st | |||
| class(tdsops_t), | intent(in) | :: | y_der1st | |||
| class(tdsops_t), | intent(in) | :: | z_der1st |
Divergence of a vector field (u, v, w).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_calculus_t) | :: | self | ||||
| class(field_t), | intent(inout) | :: | div_u | |||
| class(field_t), | intent(in) | :: | u | |||
| class(field_t), | intent(in) | :: | v | |||
| class(field_t), | intent(in) | :: | w | |||
| class(tdsops_t), | intent(in) | :: | x_stagder_v2c | |||
| class(tdsops_t), | intent(in) | :: | x_interpl_v2c | |||
| class(tdsops_t), | intent(in) | :: | y_stagder_v2c | |||
| class(tdsops_t), | intent(in) | :: | y_interpl_v2c | |||
| class(tdsops_t), | intent(in) | :: | z_stagder_v2c | |||
| class(tdsops_t), | intent(in) | :: | z_interpl_v2c |
Gradient of a scalar field 'p'.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_calculus_t) | :: | self | ||||
| class(field_t), | intent(inout) | :: | dpdx | |||
| class(field_t), | intent(inout) | :: | dpdy | |||
| class(field_t), | intent(inout) | :: | dpdz | |||
| class(field_t), | intent(in) | :: | p | |||
| class(tdsops_t), | intent(in) | :: | x_stagder_c2v | |||
| class(tdsops_t), | intent(in) | :: | x_interpl_c2v | |||
| class(tdsops_t), | intent(in) | :: | y_stagder_c2v | |||
| class(tdsops_t), | intent(in) | :: | y_interpl_c2v | |||
| class(tdsops_t), | intent(in) | :: | z_stagder_c2v | |||
| class(tdsops_t), | intent(in) | :: | z_interpl_c2v |
Laplacian of a scalar field 'u'.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(vector_calculus_t) | :: | self | ||||
| class(field_t), | intent(inout) | :: | lapl_u | |||
| class(field_t), | intent(in) | :: | u | |||
| class(tdsops_t), | intent(in) | :: | x_der2nd | |||
| class(tdsops_t), | intent(in) | :: | y_der2nd | |||
| class(tdsops_t), | intent(in) | :: | z_der2nd |