Implements the scalar_user_source_term_t type.  
 | 
| subroutine  | scalar_user_source_term_init (this, json, fields, coef) | 
|   | Constructor from JSON.  
  | 
|   | 
| subroutine  | scalar_user_source_term_init_from_components (this, fields, coef, source_term_type, eval_vector, eval_pointwise) | 
|   | Constructor from components.  
  | 
|   | 
| subroutine  | scalar_user_source_term_free (this) | 
|   | Destructor.  
  | 
|   | 
| subroutine  | scalar_user_source_term_compute (this, t, tstep) | 
|   | Computes the source term and adds the result to fields.  
  | 
|   | 
| subroutine  | pointwise_eval_driver (this, t) | 
|   | Driver for all pointwise source term evaluatons.  
  | 
|   | 
◆ pointwise_eval_driver()
◆ scalar_user_source_term_compute()
◆ scalar_user_source_term_free()
◆ scalar_user_source_term_init()
◆ scalar_user_source_term_init_from_components()
  
  
      
        
          | subroutine scalar_user_source_term::scalar_user_source_term_init_from_components  | 
          ( | 
          class(scalar_user_source_term_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          type(field_list_t), intent(inout), target  | 
          fields,  | 
         
        
           | 
           | 
          type(coef_t), intent(inout)  | 
          coef,  | 
         
        
           | 
           | 
          character(len=*)  | 
          source_term_type,  | 
         
        
           | 
           | 
          procedure(scalar_source_compute_vector), optional  | 
          eval_vector,  | 
         
        
           | 
           | 
          procedure(scalar_source_compute_pointwise), optional  | 
          eval_pointwise  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | fields | A list with 1 field for adding the source values.  | 
    | coef | The SEM coeffs.  | 
    | sourc_term_type | The type of the user source term, "user_vector" or "user_pointwise".  | 
    | eval_vector | The procedure to vector-compute the source term.  | 
    | eval_pointwise | The procedure to pointwise-compute the source term.  | 
  
   
Definition at line 140 of file scalar_user_source_term.f90.