Base type of all fluid formulations.  
 More...
 | 
| procedure(adjoint_fluid_scheme_init_intrf), deferred, pass  | init (this, msh, lx, params, user, chkp) | 
|   | Constructor.  
  | 
|   | 
| procedure(adjoint_fluid_scheme_free_intrf), deferred, pass  | free (this) | 
|   | Destructor.  
  | 
|   | 
| procedure(adjoint_fluid_scheme_step_intrf), deferred, pass  | step (this, time, dt_controller) | 
|   | Advance one step in time.  
  | 
|   | 
| procedure(adjoint_fluid_scheme_restart_intrf), deferred, pass  | restart (this, chkp) | 
|   | Restart from a checkpoint.  
  | 
|   | 
| procedure(adjoint_fluid_scheme_setup_bcs_intrf), deferred, pass  | setup_bcs (this, user, params) | 
|   | Setup boundary conditions.  
  | 
|   | 
| procedure(validate_intrf), deferred, pass  | validate (this) | 
|   | Set the user inflow.  
  | 
|   | 
| procedure(fluid_scheme_base_compute_cfl_intrf), deferred, pass  | compute_cfl (this, dt) | 
|   | Compute the CFL number.  
  | 
|   | 
| procedure(update_material_properties), deferred, pass  | update_material_properties (this, time) | 
|   | Set rho and mu.  
  | 
|   | 
 | 
| character(len=:), allocatable  | name | 
|   | A name that can be used to distinguish this solver in e.g. user routines.  
  | 
|   | 
| type(space_t)  | xh | 
|   | Function space \( X_h \).  
  | 
|   | 
| type(dofmap_t)  | dm_xh | 
|   | Dofmap associated with \( X_h \).  
  | 
|   | 
| type(gs_t)  | gs_xh | 
|   | Gather-scatter associated with \( X_h \).  
  | 
|   | 
| type(coef_t)  | c_xh | 
|   | Coefficients associated with \( X_h \).  
  | 
|   | 
| type(time_scheme_controller_t), allocatable  | ext_bdf | 
|   | 
| type(field_t), pointer  | u_adj => null() | 
|   | The velocity field.  
  | 
|   | 
| type(field_t), pointer  | v_adj => null() | 
|   | y-component of Velocity  
  | 
|   | 
| type(field_t), pointer  | w_adj => null() | 
|   | z-component of Velocity  
  | 
|   | 
| type(field_t), pointer  | p_adj => null() | 
|   | Pressure.  
  | 
|   | 
| type(field_series_t)  | ulag | 
|   | 
| type(field_series_t)  | vlag | 
|   | 
| type(field_series_t)  | wlag | 
|   | fluid field (lag)  
  | 
|   | 
| type(field_t), pointer  | u_b => null() | 
|   | x-component of baseflow velocity  
  | 
|   | 
| type(field_t), pointer  | v_b => null() | 
|   | y-component of baseflow Velocity  
  | 
|   | 
| type(field_t), pointer  | w_b => null() | 
|   | z-component of baseflow Velocity  
  | 
|   | 
| type(field_t), pointer  | p_b => null() | 
|   | Baseflow pressure.  
  | 
|   | 
| type(chkp_t), pointer  | chkp => null() | 
|   | Checkpoint.  
  | 
|   | 
| type(field_t), pointer  | f_adj_x => null() | 
|   | X-component of the right-hand side.  
  | 
|   | 
| type(field_t), pointer  | f_adj_y => null() | 
|   | Y-component of the right-hand side.  
  | 
|   | 
| type(field_t), pointer  | f_adj_z => null() | 
|   | Z-component of the right-hand side.  
  | 
|   | 
| type(bc_list_t)  | bcs_prs | 
|   | Boundary conditions.  
  | 
|   | 
| type(bc_list_t)  | bcs_vel | 
|   | 
| type(json_file), pointer  | params | 
|   | Parameters.  
  | 
|   | 
| type(mesh_t), pointer  | msh => null() | 
|   | Mesh.  
  | 
|   | 
| character(len=neko_msh_max_zlbl_len), dimension(:), allocatable  | bc_labels | 
|   | Boundary condition labels (if any)  
  | 
|   | 
| type(field_t)  | rho | 
|   | Density field.  
  | 
|   | 
| type(field_t)  | mu | 
|   | The dynamic viscosity.  
  | 
|   | 
| type(field_list_t)  | material_properties | 
|   | A helper that packs material properties to pass to the user routine.  
  | 
|   | 
| logical  | freeze = .false. | 
|   | Is the fluid frozen at the moment.  
  | 
|   | 
 | 
| procedure(user_material_properties_intf), pointer, nopass  | user_material_properties => null() | 
|   | User material properties routine.  
  | 
|   | 
Definition at line 60 of file adjoint_fluid_scheme.f90.
 
◆ compute_cfl()
  
  
      
        
          | procedure(fluid_scheme_base_compute_cfl_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::compute_cfl  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(in)  | 
          this,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          dt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ free()
  
  
      
        
          | procedure(adjoint_fluid_scheme_free_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::free  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout)  | 
          this | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ init()
  
  
      
        
          | procedure(adjoint_fluid_scheme_init_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::init  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout), target  | 
          this,  | 
         
        
           | 
           | 
          type(mesh_t), intent(inout), target  | 
          msh,  | 
         
        
           | 
           | 
          integer, intent(in)  | 
          lx,  | 
         
        
           | 
           | 
          type(json_file), intent(inout), target  | 
          params,  | 
         
        
           | 
           | 
          type(user_t), intent(in), target  | 
          user,  | 
         
        
           | 
           | 
          type(chkp_t), intent(inout), target  | 
          chkp  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ restart()
  
  
      
        
          | procedure(adjoint_fluid_scheme_restart_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::restart  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout), target  | 
          this,  | 
         
        
           | 
           | 
          type(chkp_t), intent(inout)  | 
          chkp  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ setup_bcs()
  
  
      
        
          | procedure(adjoint_fluid_scheme_setup_bcs_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::setup_bcs  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          type(user_t), intent(in), target  | 
          user,  | 
         
        
           | 
           | 
          type(json_file), intent(inout)  | 
          params  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ step()
  
  
      
        
          | procedure(adjoint_fluid_scheme_step_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::step  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout), target  | 
          this,  | 
         
        
           | 
           | 
          type(time_state_t), intent(in)  | 
          time,  | 
         
        
           | 
           | 
          type(time_step_controller_t), intent(in)  | 
          dt_controller  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ update_material_properties()
  
  
      
        
          | procedure(update_material_properties), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::update_material_properties  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          type(time_state_t), intent(in)  | 
          time  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ validate()
  
  
      
        
          | procedure(validate_intrf), deferred, pass adjoint_fluid_scheme::adjoint_fluid_scheme_t::validate  | 
          ( | 
          class(adjoint_fluid_scheme_t), intent(inout), target  | 
          this | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ bc_labels
      
        
          | character(len=neko_msh_max_zlbl_len), dimension(:), allocatable adjoint_fluid_scheme::adjoint_fluid_scheme_t::bc_labels | 
        
      
 
 
◆ bcs_prs
      
        
          | type(bc_list_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::bcs_prs | 
        
      
 
 
◆ bcs_vel
      
        
          | type(bc_list_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::bcs_vel | 
        
      
 
 
◆ c_xh
      
        
          | type(coef_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::c_xh | 
        
      
 
 
◆ chkp
      
        
          | type(chkp_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::chkp => null() | 
        
      
 
 
◆ dm_xh
      
        
          | type(dofmap_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::dm_xh | 
        
      
 
 
◆ ext_bdf
      
        
          | type(time_scheme_controller_t), allocatable adjoint_fluid_scheme::adjoint_fluid_scheme_t::ext_bdf | 
        
      
 
 
◆ f_adj_x
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::f_adj_x => null() | 
        
      
 
 
◆ f_adj_y
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::f_adj_y => null() | 
        
      
 
 
◆ f_adj_z
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::f_adj_z => null() | 
        
      
 
 
◆ freeze
      
        
          | logical adjoint_fluid_scheme::adjoint_fluid_scheme_t::freeze = .false. | 
        
      
 
 
◆ gs_xh
      
        
          | type(gs_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::gs_xh | 
        
      
 
 
◆ material_properties
      
        
          | type(field_list_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::material_properties | 
        
      
 
 
◆ msh
      
        
          | type(mesh_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::msh => null() | 
        
      
 
 
◆ mu
      
        
          | type(field_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::mu | 
        
      
 
 
◆ name
      
        
          | character(len=:), allocatable adjoint_fluid_scheme::adjoint_fluid_scheme_t::name | 
        
      
 
 
◆ p_adj
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::p_adj => null() | 
        
      
 
 
◆ p_b
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::p_b => null() | 
        
      
 
 
◆ params
      
        
          | type(json_file), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::params | 
        
      
 
 
◆ rho
      
        
          | type(field_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::rho | 
        
      
 
 
◆ u_adj
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::u_adj => null() | 
        
      
 
 
◆ u_b
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::u_b => null() | 
        
      
 
 
◆ ulag
      
        
          | type(field_series_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::ulag | 
        
      
 
 
◆ user_material_properties
  
  
      
        
          | procedure(user_material_properties_intf), pointer, nopass adjoint_fluid_scheme::adjoint_fluid_scheme_t::user_material_properties => null() | 
         
       
   | 
  
static   | 
  
 
 
◆ v_adj
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::v_adj => null() | 
        
      
 
 
◆ v_b
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::v_b => null() | 
        
      
 
 
◆ vlag
      
        
          | type(field_series_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::vlag | 
        
      
 
 
◆ w_adj
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::w_adj => null() | 
        
      
 
 
◆ w_b
      
        
          | type(field_t), pointer adjoint_fluid_scheme::adjoint_fluid_scheme_t::w_b => null() | 
        
      
 
 
◆ wlag
      
        
          | type(field_series_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::wlag | 
        
      
 
 
◆ xh
      
        
          | type(space_t) adjoint_fluid_scheme::adjoint_fluid_scheme_t::xh | 
        
      
 
 
The documentation for this type was generated from the following file: