init_iface Interface

interface
public subroutine init_iface(self, backend, mesh, host_allocator, dt)

Arguments

Type IntentOptional Attributes Name
class(turbine_model_t), intent(inout) :: self
class(base_backend_t), intent(in), target :: backend
type(mesh_t), intent(in), target :: mesh
type(allocator_t), intent(in), target :: host_allocator
real(kind=dp), intent(in) :: dt

Description

Set up turbine geometry/state (read config files, place actuator points, build smearing kernels, ...). Called once after the solver exists. The model caches whatever context it needs (backend, mesh, host_allocator) so the per-step hooks below take only fields.