Neko-TOP
A portable framework for high-order spectral element flow toplogy optimization.
Loading...
Searching...
No Matches
steady_simcomp::steady_simcomp_t Type Reference

The steady_simcomp_t type is a simulation component that terminates a simulation when the normed difference between the old and new fields is below a certain tolerance. This allow us to compute steady-state solutions without modifying the simulation loop. More...

Inheritance diagram for steady_simcomp::steady_simcomp_t:
Collaboration diagram for steady_simcomp::steady_simcomp_t:

Public Member Functions

procedure, pass(this), public init (this, json, case)
 
procedure, pass(this), public init_from_attributes (this, tol)
 
procedure, pass(this), public free (this)
 
procedure, pass(this), public compute_ (this, t, tstep)
 

Public Attributes

type(field_t) v_old
 
type(field_t) w_old
 
type(field_t) p_old
 
type(field_t) s_old
 
real(kind=dp) tol
 
logical have_scalar = .false.
 

Private Attributes

type(field_t) u_old
 

Detailed Description

Definition at line 49 of file steady_simcomp.f90.

Member Function/Subroutine Documentation

◆ compute_()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::compute_ ( class(steady_simcomp_t), intent(inout this,
real(kind=rp), intent(in t,
integer, intent(in tstep 
)

Definition at line 67 of file steady_simcomp.f90.

◆ free()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::free ( class(steady_simcomp_t), intent(inout this)

Definition at line 65 of file steady_simcomp.f90.

◆ init()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::init ( class(steady_simcomp_t), intent(inout this,
type(json_file), intent(inout json,
class(case_t), intent(inout), target  case 
)

Definition at line 60 of file steady_simcomp.f90.

◆ init_from_attributes()

procedure, pass(this), public steady_simcomp::steady_simcomp_t::init_from_attributes ( class(steady_simcomp_t), intent(inout this,
real(kind=dp), intent(in tol 
)

Definition at line 62 of file steady_simcomp.f90.

Member Data Documentation

◆ have_scalar

logical steady_simcomp::steady_simcomp_t::have_scalar = .false.

Definition at line 56 of file steady_simcomp.f90.

◆ p_old

type(field_t) steady_simcomp::steady_simcomp_t::p_old

Definition at line 53 of file steady_simcomp.f90.

◆ s_old

type(field_t) steady_simcomp::steady_simcomp_t::s_old

Definition at line 53 of file steady_simcomp.f90.

◆ tol

real(kind=dp) steady_simcomp::steady_simcomp_t::tol

Definition at line 54 of file steady_simcomp.f90.

◆ u_old

type(field_t) steady_simcomp::steady_simcomp_t::u_old
private

Definition at line 53 of file steady_simcomp.f90.

◆ v_old

type(field_t) steady_simcomp::steady_simcomp_t::v_old

Definition at line 53 of file steady_simcomp.f90.

◆ w_old

type(field_t) steady_simcomp::steady_simcomp_t::w_old

Definition at line 53 of file steady_simcomp.f90.


The documentation for this type was generated from the following file: