Scrambler
1
|
Module that handles the placement of vectorperturbation. More...
Data Types | |
type | pVectorperturbationDef |
type | VectorperturbationDef |
Vectorperturbation data type. More... | |
Public Member Functions | |
subroutine | CreateVectorPerturbation (VectorPerturbationObj) |
subroutine | UpdateVectorPerturbation (VectorPerturbation) |
subroutine | CreateSolenoidalSpectra (VectorPerturbationObj, kmin, kmax, beta, amplitude, scale) |
subroutine | InitVectorperturbationWaves (VectorperturbationObj, nWaves) |
subroutine | AddVectorperturbationWave (VectorperturbationObj, wavevector, phase, amplitude) |
subroutine | DestroyVectorperturbation (VectorperturbationObj) |
REAL(KIND=qPREC) function | VectorperturbationValue (VectorperturbationObj, pos) |
logical function | unique (k, mymx) |
REAL(8) function, dimension(3) | cross_product (A, B) |
REAL(8) function | magnitude (A) |
Public Attributes | |
TYPE(pVectorperturbationDef) | pVectorperturbation |
Module that handles the placement of vectorperturbation.
Definition at line 32 of file vectorperturbations.f90.
subroutine CreateVectorPerturbation | ( | TYPE(VectorPerturbationDef), pointer | VectorPerturbationObj | ) |
Definition at line 62 of file vectorperturbations.f90.
subroutine UpdateVectorPerturbation | ( | TYPE(VectorPerturbationDef), pointer | VectorPerturbation | ) |
Definition at line 71 of file vectorperturbations.f90.
subroutine CreateSolenoidalSpectra | ( | TYPE(VectorPerturbationDef), pointer | VectorPerturbationObj, |
INTEGER | kmin, | ||
INTEGER | kmax, | ||
REAL(KIND=qPREC) | beta, | ||
REAL(KIND=qPREC) | amplitude, | ||
REAL(KIND=qPREC), optional | scale | ||
) |
Definition at line 77 of file vectorperturbations.f90.
subroutine InitVectorperturbationWaves | ( | TYPE(VectorperturbationDef) | VectorperturbationObj, |
INTEGER | nWaves | ||
) |
Definition at line 132 of file vectorperturbations.f90.
subroutine AddVectorperturbationWave | ( | TYPE(VectorperturbationDef) | VectorperturbationObj, |
REAL(KIND=qPREC), dimension(:) | wavevector, | ||
REAL(KIND=qPREC), dimension(3) | phase, | ||
REAL(KIND=qPREC), dimension(3) | amplitude | ||
) |
Definition at line 145 of file vectorperturbations.f90.
subroutine DestroyVectorperturbation | ( | TYPE(VectorperturbationDef), pointer | VectorperturbationObj | ) |
Definition at line 160 of file vectorperturbations.f90.
REAL(KIND=qPREC) function VectorperturbationValue | ( | TYPE(VectorperturbationDef) | VectorperturbationObj, |
REAL(KIND=qPREC), dimension(3) | pos | ||
) |
Definition at line 169 of file vectorperturbations.f90.
logical function unique | ( | INTEGER, dimension(:) | k, |
INTEGER, dimension(:) | mymx | ||
) |
Definition at line 207 of file vectorperturbations.f90.
REAL(8) function, dimension(3) cross_product | ( | REAL(8), dimension(3) | A, |
REAL(8), dimension(3) | B | ||
) |
Definition at line 225 of file vectorperturbations.f90.
REAL(8) function magnitude | ( | REAL(8), dimension(:) | A | ) |
Definition at line 230 of file vectorperturbations.f90.
Definition at line 55 of file vectorperturbations.f90.