Contains the scalar_scheme_t type.  
 | 
| subroutine  | scalar_scheme_init (this, msh, c_xh, gs_xh, params, scheme, user, rho) | 
|   | Initialize all related components of the current scheme.  
  | 
|   | 
| subroutine  | scalar_scheme_free (this) | 
|   | Deallocate a scalar formulation.  
  | 
|   | 
| subroutine  | scalar_scheme_validate (this) | 
|   | Validate that all fields, solvers etc necessary for performing time-stepping are defined.  
  | 
|   | 
| subroutine  | scalar_scheme_solver_factory (ksp, n, solver, max_iter, abstol, monitor) | 
|   | Initialize a linear solver.  
  | 
|   | 
| subroutine  | scalar_scheme_precon_factory (pc, ksp, coef, dof, gs, bclst, pctype, pcparams) | 
|   | Initialize a Krylov preconditioner.  
  | 
|   | 
| subroutine  | scalar_scheme_update_material_properties (this, time) | 
|   | Call user material properties routine and update the values of lambda if necessary.  
  | 
|   | 
| subroutine  | scalar_scheme_set_material_properties (this, params, user) | 
|   | Set lamdba and cp.  
  | 
|   | 
◆ scalar_scheme_free()
◆ scalar_scheme_init()
      
        
          | subroutine scalar_scheme::scalar_scheme_init  | 
          ( | 
          class(scalar_scheme_t), intent(inout), target  | 
          this,  | 
        
        
           | 
           | 
          type(mesh_t), intent(in), target  | 
          msh,  | 
        
        
           | 
           | 
          type(coef_t), intent(in), target  | 
          c_xh,  | 
        
        
           | 
           | 
          type(gs_t), intent(inout), target  | 
          gs_xh,  | 
        
        
           | 
           | 
          type(json_file), intent(inout), target  | 
          params,  | 
        
        
           | 
           | 
          character(len=*), intent(in)  | 
          scheme,  | 
        
        
           | 
           | 
          type(user_t), intent(in), target  | 
          user,  | 
        
        
           | 
           | 
          type(field_t), intent(in), target  | 
          rho  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
- Parameters
 - 
  
    | msh | The mesh.  | 
    | c_Xh | The coefficients.  | 
    | gs_Xh | The gather-scatter.  | 
    | params | The parameter dictionary in json.  | 
    | scheme | The name of the scalar scheme.  | 
    | user | Type with user-defined procedures.  | 
    | rho | The density of the fluid.  | 
  
   
Definition at line 238 of file scalar_scheme.f90.
 
 
◆ scalar_scheme_precon_factory()
      
        
          | subroutine scalar_scheme::scalar_scheme_precon_factory  | 
          ( | 
          class(pc_t), intent(inout), allocatable, target  | 
          pc,  | 
        
        
           | 
           | 
          class(ksp_t), intent(inout), target  | 
          ksp,  | 
        
        
           | 
           | 
          type(coef_t), intent(in), target  | 
          coef,  | 
        
        
           | 
           | 
          type(dofmap_t), intent(in), target  | 
          dof,  | 
        
        
           | 
           | 
          type(gs_t), intent(inout), target  | 
          gs,  | 
        
        
           | 
           | 
          type(bc_list_t), intent(inout), target  | 
          bclst,  | 
        
        
           | 
           | 
          character(len=*)  | 
          pctype,  | 
        
        
           | 
           | 
          type(json_file), intent(inout)  | 
          pcparams  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ scalar_scheme_set_material_properties()
- Parameters
 - 
  
    | params | The case file configuration dictionary.  | 
    | user | The user interface.  | 
  
   
Definition at line 515 of file scalar_scheme.f90.
 
 
◆ scalar_scheme_solver_factory()
      
        
          | subroutine scalar_scheme::scalar_scheme_solver_factory  | 
          ( | 
          class(ksp_t), intent(inout), allocatable, target  | 
          ksp,  | 
        
        
           | 
           | 
          integer, intent(in), value  | 
          n,  | 
        
        
           | 
           | 
          character(len=*), intent(in)  | 
          solver,  | 
        
        
           | 
           | 
          integer, intent(in)  | 
          max_iter,  | 
        
        
           | 
           | 
          real(kind=rp)  | 
          abstol,  | 
        
        
           | 
           | 
          logical, intent(in)  | 
          monitor  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ scalar_scheme_update_material_properties()
◆ scalar_scheme_validate()