Neko  0.9.0
A portable framework for high-order spectral element flow simulations
force_torque Module Reference

Implements the force_torque_t type.

Data Types

type  force_torque_t
 A simulation component that computes the force_torque field. Added to the field registry as omega_x, omega_y, andomega_z`. More...
 

Functions/Subroutines

subroutine force_torque_init_from_json (this, json, case)
 Constructor from json. More...
 
subroutine force_torque_init_from_attributes (this, zone_id, zone_name, center, scale, coef, long_print)
 Actual constructor. More...
 
subroutine force_torque_free (this)
 Destructor. More...
 
subroutine force_torque_compute (this, t, tstep)
 Compute the force_torque field. More...
 

Function/Subroutine Documentation

◆ force_torque_compute()

subroutine force_torque::force_torque_compute ( class(force_torque_t), intent(inout)  this,
real(kind=rp), intent(in)  t,
integer, intent(in)  tstep 
)
private
Parameters
tThe time value.
tstepThe current time-step

Definition at line 246 of file force_torque.f90.

Here is the call graph for this function:

◆ force_torque_free()

subroutine force_torque::force_torque_free ( class(force_torque_t), intent(inout)  this)
private

Definition at line 232 of file force_torque.f90.

◆ force_torque_init_from_attributes()

subroutine force_torque::force_torque_init_from_attributes ( class(force_torque_t), intent(inout)  this,
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

Definition at line 131 of file force_torque.f90.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ force_torque_init_from_json()

subroutine force_torque::force_torque_init_from_json ( class(force_torque_t), intent(inout)  this,
type(json_file), intent(inout)  json,
class(case_t), intent(inout), target  case 
)

Definition at line 105 of file force_torque.f90.

Here is the call graph for this function: