Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
weak_grad Module Reference

Implements the weak_grad_t type.

Data Types

type  weak_grad_t
 A simulation component that computes the weak gradient of a field. Wraps the opgrad operator. More...
 

Functions/Subroutines

subroutine weak_grad_init_from_json (this, json, case)
 Constructor from json.
 
subroutine weak_grad_init_from_attributes (this, fieldname)
 Actual constructor.
 
subroutine weak_grad_free (this)
 Destructor.
 
subroutine weak_grad_compute (this, t, tstep)
 Compute the weak_grad field.
 

Function/Subroutine Documentation

◆ weak_grad_compute()

subroutine weak_grad::weak_grad_compute ( class(weak_grad_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 133 of file weak_grad.f90.

Here is the call graph for this function:

◆ weak_grad_free()

subroutine weak_grad::weak_grad_free ( class(weak_grad_t), intent(inout this)
private

Definition at line 120 of file weak_grad.f90.

◆ weak_grad_init_from_attributes()

subroutine weak_grad::weak_grad_init_from_attributes ( class(weak_grad_t), intent(inout this,
character(len=*)  fieldname 
)
private

Definition at line 103 of file weak_grad.f90.

Here is the caller graph for this function:

◆ weak_grad_init_from_json()

subroutine weak_grad::weak_grad_init_from_json ( class(weak_grad_t), intent(inout this,
type(json_file), intent(inout json,
class(case_t), intent(inout), target  case 
)

Definition at line 79 of file weak_grad.f90.

Here is the call graph for this function: