Scrambler
1
|
Module that handles the placement of perturbation. More...
Data Types | |
type | PerturbationDef |
Perturbation data type. More... | |
type | pPerturbationDef |
Public Member Functions | |
subroutine | CreatePerturbation (Perturbation) |
subroutine | UpdatePerturbation (Perturbation) |
subroutine | CreatePerturbationSpectra (PerturbationObj, kmin, kmax, beta, amplitude, scale) |
subroutine | InitPerturbationWaves (PerturbationObj, nWaves) |
subroutine | AddPerturbationWave (PerturbationObj, wavevector, phase, amplitude) |
subroutine | DestroyPerturbation (PerturbationObj) |
REAL(KIND=qPREC) function | PerturbationValue (PerturbationObj, pos) |
REAL(KIND=qPREC) function | getrand () |
Public Attributes | |
TYPE(pPerturbationDef) | pPerturbation |
INTEGER, parameter | COSINESERIES = 0 |
INTEGER, parameter | SINESERIES = 1 |
INTEGER, parameter | EXPONENTIAL = 2 |
INTEGER, parameter | CARTESIAN = 0 |
INTEGER, parameter | CYLINDRICAL = 1 |
INTEGER, parameter | SPHERICAL = 2 |
Module that handles the placement of perturbation.
Definition at line 32 of file perturbations.f90.
subroutine CreatePerturbation | ( | TYPE(PerturbationDef), pointer | Perturbation | ) |
Definition at line 63 of file perturbations.f90.
subroutine UpdatePerturbation | ( | TYPE(PerturbationDef), pointer | Perturbation | ) |
Definition at line 68 of file perturbations.f90.
subroutine CreatePerturbationSpectra | ( | TYPE(PerturbationDef), pointer | PerturbationObj, |
INTEGER | kmin, | ||
INTEGER | kmax, | ||
REAL(KIND=qPREC) | beta, | ||
REAL(KIND=qPREC) | amplitude, | ||
REAL(KIND=qPREC), optional | scale | ||
) |
Definition at line 74 of file perturbations.f90.
subroutine InitPerturbationWaves | ( | TYPE(PerturbationDef) | PerturbationObj, |
INTEGER | nWaves | ||
) |
Definition at line 114 of file perturbations.f90.
subroutine AddPerturbationWave | ( | TYPE(PerturbationDef) | PerturbationObj, |
REAL(KIND=qPREC), dimension(:) | wavevector, | ||
REAL(KIND=qPREC) | phase, | ||
REAL(KIND=qPREC) | amplitude | ||
) |
Definition at line 123 of file perturbations.f90.
subroutine DestroyPerturbation | ( | TYPE(PerturbationDef), pointer | PerturbationObj | ) |
Definition at line 135 of file perturbations.f90.
REAL(KIND=qPREC) function PerturbationValue | ( | TYPE(PerturbationDef) | PerturbationObj, |
REAL(KIND=qPREC), dimension(3) | pos | ||
) |
Definition at line 144 of file perturbations.f90.
REAL(KIND=qPREC) function getrand | ( | ) |
Definition at line 177 of file perturbations.f90.
Definition at line 56 of file perturbations.f90.
INTEGER, parameter COSINESERIES = 0 |
Definition at line 59 of file perturbations.f90.
INTEGER, parameter SINESERIES = 1 |
Definition at line 59 of file perturbations.f90.
INTEGER, parameter EXPONENTIAL = 2 |
Definition at line 59 of file perturbations.f90.
INTEGER, parameter CARTESIAN = 0 |
Definition at line 60 of file perturbations.f90.
INTEGER, parameter CYLINDRICAL = 1 |
Definition at line 60 of file perturbations.f90.
INTEGER, parameter SPHERICAL = 2 |
Definition at line 60 of file perturbations.f90.