init_stream Subroutine

public subroutine init_stream(fn)

Initializes a BRNG stream.

The stream is initialized with a seed from the file fn. If fn is an empty string, the seed is obtained from /dev/urandom.

Arguments

Type IntentOptional AttributesName
character(len=*) :: fn

Name of the file containing the RNG seed.


Calls

proc~~init_stream~~CallsGraph proc~init_stream init_stream vslnewstream vslnewstream proc~init_stream->vslnewstream

Called by

proc~~init_stream~~CalledByGraph proc~init_stream init_stream proc~run run proc~run->proc~init_stream program~main main program~main->proc~run

Contents

None