Implements the force_torque_t type.  
 | 
| type   | force_torque_t | 
|   | A simulation component that computes the force and torque on a given boundary zone.  More...
  | 
|   | 
 | 
| subroutine  | force_torque_init_from_json (this, json, case) | 
|   | Constructor from json.  
  | 
|   | 
| subroutine  | force_torque_init_from_controllers (this, case, order, preprocess_controller, compute_controller, output_controller, fluid_name, zone_id, zone_name, center, scale, coef, long_print) | 
|   | Constructor from components, passing controllers.  
  | 
|   | 
| subroutine  | force_torque_init_from_controllers_properties (this, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value, fluid_name, zone_name, zone_id, center, scale, coef, long_print) | 
|   | Constructor from components, passing properties to the time_based_controller` components in the base type.  
  | 
|   | 
| subroutine  | force_torque_init_common (this, fluid_name, zone_id, zone_name, center, scale, coef, long_print) | 
|   | Common part of constructors.  
  | 
|   | 
| subroutine  | force_torque_free (this) | 
|   | Destructor.  
  | 
|   | 
| subroutine  | force_torque_compute (this, time) | 
|   | Compute the force_torque field.  
  | 
|   | 
◆ force_torque_compute()
◆ force_torque_free()
◆ force_torque_init_common()
  
  
      
        
          | subroutine force_torque::force_torque_init_common  | 
          ( | 
          class(force_torque_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          fluid_name,  | 
         
        
           | 
           | 
          integer, intent(in)  | 
          zone_id,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          zone_name,  | 
         
        
           | 
           | 
          real(kind=rp), dimension(3), intent(in)  | 
          center,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          scale,  | 
         
        
           | 
           | 
          type(coef_t), intent(in), target  | 
          coef,  | 
         
        
           | 
           | 
          logical, intent(in)  | 
          long_print  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | fluid_name | The name of the fluid solver.  | 
    | zone_id | The id of the boundary zone.  | 
    | zone_name | The name of the boundary zone, to use in the log.  | 
    | center | The center of the torque calculation.  | 
    | scale | Normalization factor.  | 
    | coef | The SEM coefficients.  | 
    | long_print | If true, use a more precise print format.  | 
  
   
Definition at line 234 of file force_torque.f90.
 
 
◆ force_torque_init_from_controllers()
  
  
      
        
          | subroutine force_torque::force_torque_init_from_controllers  | 
          ( | 
          class(force_torque_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          class(case_t), intent(inout), target  | 
          case,  | 
         
        
           | 
           | 
          integer  | 
          order,  | 
         
        
           | 
           | 
          type(time_based_controller_t), intent(in)  | 
          preprocess_controller,  | 
         
        
           | 
           | 
          type(time_based_controller_t), intent(in)  | 
          compute_controller,  | 
         
        
           | 
           | 
          type(time_based_controller_t), intent(in)  | 
          output_controller,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          fluid_name,  | 
         
        
           | 
           | 
          integer, intent(in)  | 
          zone_id,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          zone_name,  | 
         
        
           | 
           | 
          real(kind=rp), dimension(3), intent(in)  | 
          center,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          scale,  | 
         
        
           | 
           | 
          type(coef_t), intent(in), target  | 
          coef,  | 
         
        
           | 
           | 
          logical, intent(in)  | 
          long_print  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | case | The simulation case object.  | 
    | order | The execution oder priority of the simcomp.  | 
    | preprocess_controller | The controller for running preprocessing.  | 
    | compute_controller | The controller for running compute.  | 
    | output_controller | The controller for producing output.  | 
    | fluid_name | The name of the fluid solver.  | 
    | zone_id | The id of the boundary zone.  | 
    | zone_name | The name of the boundary zone, to use in the log.  | 
    | center | The center of the torque calculation.  | 
    | scale | Normalization factor.  | 
    | coef | The SEM coefficients.  | 
    | long_print | If true, use a more precise print format.  | 
  
   
Definition at line 156 of file force_torque.f90.
 
 
◆ force_torque_init_from_controllers_properties()
  
  
      
        
          | subroutine force_torque::force_torque_init_from_controllers_properties  | 
          ( | 
          class(force_torque_t), intent(inout)  | 
          this,  | 
         
        
           | 
           | 
          class(case_t), intent(inout), target  | 
          case,  | 
         
        
           | 
           | 
          integer  | 
          order,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          preprocess_control,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          preprocess_value,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          compute_control,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          compute_value,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          output_control,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          output_value,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          fluid_name,  | 
         
        
           | 
           | 
          character(len=*), intent(in)  | 
          zone_name,  | 
         
        
           | 
           | 
          integer, intent(in)  | 
          zone_id,  | 
         
        
           | 
           | 
          real(kind=rp), dimension(3), intent(in)  | 
          center,  | 
         
        
           | 
           | 
          real(kind=rp), intent(in)  | 
          scale,  | 
         
        
           | 
           | 
          type(coef_t), intent(in), target  | 
          coef,  | 
         
        
           | 
           | 
          logical, intent(in)  | 
          long_print  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
private   | 
  
 
- Parameters
 - 
  
    | case | The simulation case object.  | 
    | order | The execution oder priority of the simcomp.  | 
    | preprocess_controller | Control mode for preprocessing.  | 
    | preprocess_value | Value parameter for preprocessing.  | 
    | compute_controller | Control mode for computing.  | 
    | compute_value | Value parameter for computing.  | 
    | output_controller | Control mode for output.  | 
    | output_value | Value parameter for output.  | 
    | fluid_name | The name of the fluid solver.  | 
    | zone_id | The id of the boundary zone.  | 
    | zone_name | The name of the boundary zone, to use in the log.  | 
    | center | The center of the torque calculation.  | 
    | scale | Normalization factor.  | 
    | coef | The SEM coefficients.  | 
    | long_print | If true, use a more precise print format.  | 
  
   
Definition at line 197 of file force_torque.f90.
 
 
◆ force_torque_init_from_json()