Loading...
Searching...
No Matches
param Module Reference

Definition

Provides a simple class for describing equation parameters.

type, private :: param 

Examples

The following example demonstrates some of the main members of the param class.

params(1)%symbol = 'PI'
params(1)%val = (3.14159265358979_r8, 0.0_r8)
params(2)%symbol = 'I'
params(2)%val = (0.0_r8, 1.0_r8)

Constructors

Initializes a new instance of the param class

param(character(24) symbol, complex(c8) val)

Parameters
[in]symbolthe name of the parameter
[in]valuethe value of the parameter as complex(c8)

Examples

type(param) :: p
p = param('x', (0.0_r8, 0.0_r8))

Remarks

Definition at line 38 of file Parameters.f90.


The documentation for this module was generated from the following file: