PyPO User Manual
InterfaceReflector.h File Reference

Header for reflector generation interface. More...

#include "Structs.h"
#include "Random.h"

Go to the source code of this file.

Functions

PYPO_DLL void generateGrid (reflparams refl, reflcontainer *container, bool transform=true, bool spheric=true)
 
PYPO_DLL void generateGridf (reflparamsf refl, reflcontainerf *container, bool transform=true, bool spheric=true)
 

Detailed Description

Header for reflector generation interface.

Declaration of interface for reflector objects.

See also
Structs
generateGrid()
generateGridf()

Function Documentation

◆ generateGrid()

PYPO_DLL void generateGrid ( reflparams  refl,
reflcontainer container,
bool  transform,
bool  spheric 
)

Generate reflector/far-field grids.

Generate x, y, z grids and corresponding normal vectors nx, ny, nz. Also generates area elements. For far-field grids, generates Az and El grid, leaves z-container at 0 values.

Parameters
reflA reflparams object containing reflector parameters.
containerPointer to reflcontainer object.
transformWhether or not to apply transformation to reflector.
sphericWhether or not to convert a far-field grid to spherical co-ordinates, for plotting purposes.
See also
reflparams
reflcontainer

◆ generateGridf()

PYPO_DLL void generateGridf ( reflparamsf  refl,
reflcontainerf container,
bool  transform,
bool  spheric 
)

Generate reflector/far-field grids.

Generate x, y, z grids and corresponding normal vectors nx, ny, nz. Also generates area elements. For far-field grids, generates Az and El grid, leaves z-container at 0 values.

Parameters
reflA reflparamsf object containing reflector parameters.
containerPointer to reflcontainerf object.
transformWhether or not to apply transformation to reflector.
sphericWhether or not to convert a far-field grid to spherical co-ordinates, for plotting purposes.
See also
reflparamsf
reflcontainerf