Implements the source_term_handler_t type.
|
| subroutine | source_term_handler_init_base (this, rhs_fields, coef, user, scheme_name) |
| | Constructor.
|
| |
| subroutine | source_term_handler_free (this) |
| | Destructor.
|
| |
| subroutine | source_term_handler_compute (this, time, extrapolate, scale) |
| | Add source terms to the right-hand side fields.
|
| |
| subroutine | source_term_handler_count_unextrapolated (this) |
| | Count the source terms that are not extrapolated in time.
|
| |
| subroutine | source_term_handler_add_json_source_terms (this, json, name) |
| | Read from the json file and initialize the source terms.
|
| |
| subroutine | source_term_handler_add_source_term (this, source_term) |
| | Add new source term to the list.
|
| |
◆ source_term_handler_add_json_source_terms()
◆ source_term_handler_add_source_term()
◆ source_term_handler_compute()
The source terms whose extrapolate attribute equals extrapolate are summed and multiplied by the mass matrix and, if present, by scale. For .true. the result replaces the right-hand side, for .false. it is added to it. A scheme that extrapolates its explicit terms in time calls the .true. form before and the .false. form after the extrapolation, so that the latter terms enter the step as computed.
- Parameters
-
| time | The time state. |
| extrapolate | Select the terms by their extrapolate attribute. |
| scale | Field multiplying the contributions, e.g. the density. |
Definition at line 168 of file source_term_handler.f90.
◆ source_term_handler_count_unextrapolated()
◆ source_term_handler_free()
◆ source_term_handler_init_base()
| subroutine source_term_handler::source_term_handler_init_base |
( |
class(source_term_handler_t), intent(inout) |
this, |
|
|
type(field_list_t), intent(in) |
rhs_fields, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
type(user_t), intent(in), target |
user, |
|
|
character(len=*), intent(in) |
scheme_name |
|
) |
| |
|
private |