Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.mrao.cam.ac.uk/~bn204/alma/memo-turb/bnlib-3d-kolmog.pdf
Дата изменения: Fri Aug 10 20:17:35 2012
Дата индексирования: Tue Oct 2 12:04:10 2012
Кодировка:

Поисковые слова: п п п п п п
bnlib-3d-kolmogorov
1.2 Generated by Doxygen 1.5.5
Tue Jun 3 12:23:08 2008



Contents
1 2 Main Page Namespace Index 2.1 Namespace List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 3 3 5 5 7 7 9 9

3 File Index 3.1 File List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4 Namespace Documentation 4.1 BNLib Namespace Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5 File Documentation 5.1 kolmogorov_3d.hxx File Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . .



Chapter 1

Main Page
This is the documentation for the part of BNLib that can be used to generate three dimensional fields with statistics consistent with Kolmogorov hypotheis. This document is an extract from the complete documentation of BNLib. It is automatically generated from the source code using Doxygen. The parts of the code which are designed end-user accessiblitiy are in the BNLib namespace. The details of the implementation are in the BNLib::Kolmog namespace. Not all details are documented ­ please see the source code for the definitive story. The main entry point is the function BNLib::Kolmogorov3D. You should start with the documentation of this function.


2

Main Page

Generated on Tue Jun 3 12:23:08 2008 for bnlib-3d-kolmogorov by Doxygen


Chapter 2

Namespace Index
2.1 Namespace List
Here is a list of all documented namespaces with brief descriptions: BNLib (General utilities namespace ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7


4

Namespace Index

Generated on Tue Jun 3 12:23:08 2008 for bnlib-3d-kolmogorov by Doxygen


Chapter 3

File Index
3.1 File List
Here is a list of all documented files with brief descriptions: kolmogorov_3d.hxx ........................................ 9


6

File Index

Generated on Tue Jun 3 12:23:08 2008 for bnlib-3d-kolmogorov by Doxygen


Chapter 4

Namespace Documentation
4.1 BNLib Namespace Reference
General utilities namespace.

Enumerations
· enum Kolmgorov3DOptions { KInitialEFB = 0, KInitialFBB = 1, KWeightedInterp = 2, KBalancedIters = 4, KEdgeBalanced = 8 }

Functions
· size_t Kolmogorov3D (double cube, size_t N, RDist &rfn) · size_t Kolmogorov3D (double cube, size_t Nx, size_t Ny, size_t Nz, RDist &rfn, Kolmgorov3DOptions opt=KInitialEFB) throw (const char ) · size_t Kolmogorov3DF (float cube, size_t Nx, size_t Ny, size_t Nz, RDist &rfn)

4.1.1

Detailed Description

General utilities namespace.

4.1.2

Enumeration Type Documentation

4.1.2.1 enum BNLib::Kolmgorov3DOptions Options for the 3d turbulence generation routies. Has the structure of a bit field. Enumerator: KInitialEFB Generate the inital corners using the exact algorithm considering edge, face and body diagonals KInitialFBB Generate the initial corners using approximate algorithm (not recomended) KWeightedInterp If this bit is set, weigh interpolation by inverse distance to parent point


8

Namespace Documentation KBalancedIters If this bit is set, only interpolate paraents which have a valid symetric parent. This applies to face interpolation KEdgeBalanced As KBalancedIters, but for edge interpolation.

4.1.3

Function Documentation

4.1.3.1 size_t BNLib::Kolmogorov3D (double cube, size_t Nx, size_t Ny, size_t Nz, RDist & rfn, Kolmgorov3DOptions opt = KInitialEFB) throw (const char ) Generated 3d Kolmogorov turbuluence on a Nx by Ny by Nz grid. This is the main entry point to the three dimensional Kolmogorov field generation. Parameters: cube is the pre-allocated output array of size Nx times Ny times Nz. Nx,Ny,Nz lenghts in the Nx,Ny,Nz directions. Direction Nx must not be smaller than then two other directions. rfn the gaussian random number generator to be used by the routie opt Options for adjusting the generation algorithm. See BNLib::Kolmgorov3DOptions . Returns: The maximum order used + 1

4.1.3.2 size_t BNLib::Kolmogorov3D (double cube, size_t N, RDist & rfn) Generate 3d komogorov turbulence on Ncubed grid 4.1.3.3 size_t BNLib::Kolmogorov3DF (float cube, size_t Nx, size_t Ny, size_t Nz, RDist & rfn) As Kolmogorov3D, but generate on single precision ("float") grid.

Generated on Tue Jun 3 12:23:08 2008 for bnlib-3d-kolmogorov by Doxygen


Chapter 5

File Documentation
5.1 kolmogorov_3d.hxx File Reference
#include Include dependency graph for kolmogorov_3d.hxx:
kolmogorov_3d.hxx

stdlib.h

Namespaces
· namespace BNLib · namespace BNLib::Kolmog

Enumerations
· enum BNLib::Kolmgorov3DOptions { BNLib::KInitialEFB = 0, BNLib::KInitialFBB = 1, BNLib::KWeightedInterp = 2, BNLib::KBalancedIters = 4, BNLib::KEdgeBalanced = 8 }

Functions
· size_t BNLib::Kolmogorov3D (double cube, size_t N, RDist &rfn) · size_t BNLib::Kolmogorov3D (double cube, size_t Nx, size_t Ny, size_t Nz, RDist &rfn, Kolmgorov3DOptions opt=KInitialEFB) throw (const char ) · size_t BNLib::Kolmogorov3DF (float cube, size_t Nx, size_t Ny, size_t Nz, RDist &rfn) · void BNLib::Kolmog::KolmogorovCorners3D (double cube, size_t N, RDist &rfn) · double BNLib::Kolmog::KMidPointVar_CI (size_t np, size_t o) · double BNLib::Kolmog::KMidPointVar_FI (size_t np, size_t o)


10

File Documentation · double BNLib::Kolmog::KMidPointVar_EI (size_t np, size_t o) · void BNLib::Kolmog::KMagnifyGrid (double og, const size_t N, double dd, const size_t Nx, const size_t Ny, const size_t Nz) · bool BNLib::Kolmog::pTwoNPlustOne (unsigned n)

5.1.1

Detailed Description

Bojan Nikolic , June 2007 The 3-d generalisation of kolmogorov turbulence generation.

Generated on Tue Jun 3 12:23:08 2008 for bnlib-3d-kolmogorov by Doxygen


Index
BNLib, 7 KBalancedIters, 7 KEdgeBalanced, 8 KInitialEFB, 7 KInitialFBB, 7 Kolmgorov3DOptions, 7 Kolmogorov3D, 8 Kolmogorov3DF, 8 KWeightedInterp, 7 KBalancedIters BNLib, 7 KEdgeBalanced BNLib, 8 KInitialEFB BNLib, 7 KInitialFBB BNLib, 7 Kolmgorov3DOptions BNLib, 7 Kolmogorov3D BNLib, 8 Kolmogorov3DF BNLib, 8 kolmogorov_3d.hxx, 9 KWeightedInterp BNLib, 7