estimate_lengthscale_field Interface

interface


Calls

interface~~estimate_lengthscale_field~~CallsGraph interface~estimate_lengthscale_field estimate_lengthscale_field proc~estimate_lengthscale_field estimate_lengthscale_field interface~estimate_lengthscale_field->proc~estimate_lengthscale_field

public module function estimate_lengthscale_field(this, get_field, n_mat) result(scales)

Arguments

Type IntentOptional Attributes Name
class(idbase), intent(inout) :: this
function get_field(x, y, z) result(val)

Returns the value of a field at the desired point

Arguments
Type IntentOptional Attributes Name
double precision, intent(in) :: x

coordinate of the desired point

double precision, intent(in) :: y

coordinate of the desired point

double precision, intent(in) :: z

coordinate of the desired point

Return Value double precision

Value of the field at

integer, intent(in) :: n_mat

Return Value double precision,DIMENSION(n_mat)

Array of the minimum over the lattices that surround each matter object

Description

Estimate typical length scales, one per each matter object, by computing , where is a field given as input, and represent a derivative of it. Presently, the derivatives are computed separately along each spatial dimension, as 1D derivatives.