brn_init Subroutine

public subroutine brn_init(n, nblks, mth, f, e)

Performs initial setup.

Arguments

Type IntentOptional AttributesName
integer, intent(in) :: n

Size of the mobility matrix.

integer, intent(in) :: nblks

Number of B.dW vectors to generate for the same mobility matrix. 1 <= nblks < n.

character(len=4), intent(in) :: mth

Method for calculating the Brownian terms. mth = 'CHOL' for Cholesky decomposition; mth = 'LANC' for KSP-based method.

integer, intent(in), optional :: f

For KSP-based method, maximum number of iterations. Must be present if mth = 'LANC'. f must be less than n.

real(kind=rp), intent(in), optional :: e

For KSP-based method, error threshold for convergence. Must be present if mth = 'LANC'.


Called by

proc~~brn_init~~CalledByGraph proc~brn_init brn_init proc~bds_init bds_init proc~bds_init->proc~brn_init proc~run run proc~run->proc~bds_init program~main main program~main->proc~run

Contents

None