Base abstract type for source terms.  
 More...
 | 
| procedure, pass(this)  | init_base (this, fields, coef, start_time, end_time) | 
|   | Constructor for the source_term_t (base) type.  
  | 
|   | 
| procedure, pass(this)  | free_base (this) | 
|   | Destructor for the source_term_t (base) type.  
  | 
|   | 
| procedure, pass(this)  | compute (this, t, tstep) | 
|   | Executes compute_ based on time conditions.  
  | 
|   | 
| procedure(source_term_init), deferred, pass  | init (this, json, fields, coef) | 
|   | The common constructor using a JSON object.  
  | 
|   | 
| procedure(source_term_free), deferred, pass  | free (this) | 
|   | Destructor.  
  | 
|   | 
| procedure(source_term_compute), deferred, pass  | compute_ (this, t, tstep) | 
|   | Computes the source term and adds the result to fields.  
  | 
|   | 
Definition at line 43 of file source_term.f90.
 
◆ compute()
- Parameters
 - 
  
    | t | Time value.  | 
    | tstep | Current time step.  | 
  
   
Definition at line 58 of file source_term.f90.
 
 
◆ compute_()
◆ free()
◆ free_base()
◆ init()
  
  
      
        
          | procedure(source_term_init), deferred, pass source_term::source_term_t::init  | 
          ( | 
          class(source_term_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          type(json_file), intent(inout)  | 
          json,  | 
         
        
           | 
           | 
          type(field_list_t), intent(inout), target  | 
          fields,  | 
         
        
           | 
           | 
          type(coef_t), intent(inout), target  | 
          coef  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ init_base()
      
        
          | procedure, pass(this) source_term::source_term_t::init_base  | 
          ( | 
          class(source_term_t), intent(inout)  | 
          this,  | 
        
        
           | 
           | 
          type(field_list_t)  | 
          fields,  | 
        
        
           | 
           | 
          type(coef_t), intent(inout), target  | 
          coef,  | 
        
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          start_time,  | 
        
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          end_time  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | json | JSON object initializing the source term.  | 
    | fields | The list of fields updated by the source term.  | 
    | coef | The SEM coefficients. Constructor for the source_term_t (base) type.  | 
    | fields | A list of pointers to fields to be updated by the source term.  | 
    | coef | SEM coefs.  | 
    | start_time | When to start adding the source term.  | 
    | end_time | When to stop adding the source term.  | 
  
   
Definition at line 54 of file source_term.f90.
 
 
◆ coef
◆ end_time
      
        
          | real(kind=rp) source_term::source_term_t::end_time = huge(0.0_rp) | 
        
      
 
 
◆ fields
◆ start_time
      
        
          | real(kind=rp) source_term::source_term_t::start_time = 0.0_rp | 
        
      
 
 
The documentation for this type was generated from the following file: