Neko  0.9.0
A portable framework for high-order spectral element flow simulations
derivative::derivative_t Type Reference

A simulation component that computes a derivative of a field. Wraps the duxyz operator. More...

Inheritance diagram for derivative::derivative_t:
Collaboration diagram for derivative::derivative_t:

Public Member Functions

procedure, pass(this) init => derivative_init_from_json
 Constructor from json, wrapping the actual constructor. More...
 
procedure, pass(this) init_from_attributes => derivative_init_from_attributes
 Actual constructor. More...
 
procedure, pass(this) free => derivative_free
 Destructor. More...
 
procedure, pass(this) compute_ => derivative_compute
 Compute the derivative field. More...
 
procedure, pass(this) init_base => simulation_component_init_base
 Constructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) free_base => simulation_component_free_base
 Destructor for the simulation_component_t (base) class. More...
 
procedure, pass(this) restart => simulation_component_restart_wrapper
 Wrapper for calling set_counter for the time based controllers. Serves as the public interface. More...
 
procedure, pass(this) preprocess => simulation_component_preprocess_wrapper
 Wrapper for calling preprocess_ based on the preprocess_controller. Serves as the public interface. More...
 
procedure, pass(this) compute => simulation_component_compute_wrapper
 Wrapper for calling compute_ based on the compute_controller. Serves as the public interface. More...
 
procedure, pass(this) preprocess_
 The preprocessing function to be executed during the run. More...
 
procedure, pass(this) restart_
 The restart function to be called upon restarting simulation. More...
 

Public Attributes

type(field_t), pointer u
 The scalar field to compute the weak gradient of. More...
 
type(field_t), pointer du
 The derivative field. More...
 
real(kind=rp), dimension(:,:,:,:), pointer dr
 Derivatives of r with respect to the direction of derivation. More...
 
real(kind=rp), dimension(:,:,:,:), pointer ds
 Derivatives of s with respect to the direction of derivation. More...
 
real(kind=rp), dimension(:,:,:,:), pointer dt
 Derivatives of t with respect to the direction of derivation. More...
 
type(field_writer_twriter
 Output writer. More...
 
type(case_t), pointer case
 Pointer to the simulation case. More...
 
type(time_based_controller_t) preprocess_controller
 Controller for when to run preprocess. More...
 
type(time_based_controller_t) compute_controller
 Controller for when to run compute. More...
 
type(time_based_controller_t) output_controller
 Controller for when to do output. More...
 
integer order
 The execution order, lowest excutes first. More...
 

Detailed Description

Definition at line 53 of file derivative.f90.

Member Function/Subroutine Documentation

◆ compute()

procedure, pass(this) simulation_component::simulation_component_t::compute
inherited

Definition at line 73 of file simulation_component.f90.

◆ compute_()

procedure, pass(this) derivative::derivative_t::compute_

Definition at line 76 of file derivative.f90.

◆ free()

procedure, pass(this) derivative::derivative_t::free

Definition at line 74 of file derivative.f90.

◆ free_base()

procedure, pass(this) simulation_component::simulation_component_t::free_base
inherited

Definition at line 63 of file simulation_component.f90.

◆ init()

procedure, pass(this) derivative::derivative_t::init

Definition at line 69 of file derivative.f90.

◆ init_base()

procedure, pass(this) simulation_component::simulation_component_t::init_base
inherited

Definition at line 61 of file simulation_component.f90.

◆ init_from_attributes()

procedure, pass(this) derivative::derivative_t::init_from_attributes

Definition at line 71 of file derivative.f90.

◆ preprocess()

procedure, pass(this) simulation_component::simulation_component_t::preprocess
inherited

Definition at line 69 of file simulation_component.f90.

◆ preprocess_()

procedure, pass(this) simulation_component::simulation_component_t::preprocess_
inherited

Definition at line 79 of file simulation_component.f90.

◆ restart()

procedure, pass(this) simulation_component::simulation_component_t::restart
inherited

Definition at line 66 of file simulation_component.f90.

◆ restart_()

procedure, pass(this) simulation_component::simulation_component_t::restart_
inherited

Definition at line 83 of file simulation_component.f90.

Member Data Documentation

◆ case

type(case_t), pointer simulation_component::simulation_component_t::case
inherited

Definition at line 50 of file simulation_component.f90.

◆ compute_controller

type(time_based_controller_t) simulation_component::simulation_component_t::compute_controller
inherited

Definition at line 54 of file simulation_component.f90.

◆ dr

real(kind=rp), dimension(:,:,:,:), pointer derivative::derivative_t::dr

Definition at line 59 of file derivative.f90.

◆ ds

real(kind=rp), dimension(:,:,:,:), pointer derivative::derivative_t::ds

Definition at line 61 of file derivative.f90.

◆ dt

real(kind=rp), dimension(:,:,:,:), pointer derivative::derivative_t::dt

Definition at line 63 of file derivative.f90.

◆ du

type(field_t), pointer derivative::derivative_t::du

Definition at line 57 of file derivative.f90.

◆ order

integer simulation_component::simulation_component_t::order
inherited

Definition at line 58 of file simulation_component.f90.

◆ output_controller

type(time_based_controller_t) simulation_component::simulation_component_t::output_controller
inherited

Definition at line 56 of file simulation_component.f90.

◆ preprocess_controller

type(time_based_controller_t) simulation_component::simulation_component_t::preprocess_controller
inherited

Definition at line 52 of file simulation_component.f90.

◆ u

type(field_t), pointer derivative::derivative_t::u

Definition at line 55 of file derivative.f90.

◆ writer

type(field_writer_t) derivative::derivative_t::writer

Definition at line 65 of file derivative.f90.


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