length_scale Submodule

Implementation of the method of TYPE idbase that estimates typical length scales, one per each matter object, by computing , where is a field given as input, and represent a derivative of it.

FT 10.02.2022



Uses

  • module~~length_scale~~UsesGraph module~length_scale length_scale module~id_base id_base module~length_scale->module~id_base module~utility utility module~id_base->module~utility timing timing module~id_base->timing constants constants module~utility->constants matrix matrix module~utility->matrix

Contents


Module Procedures

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

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.

Read more…

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