External C interface for creation of apertures and computation of continous-wave fields.
More...
#include <fnm/config.h>
#include <fnm/fnm_export.h>
#include <stddef.h>
#include <complex.h>
#include <stdarg.h>
#include <sps/cenv.h>
|
| int | ApertureCreate (Aperture **obj) |
| |
| int | ApertureLinearCreate (Aperture **obj, size_t nElements, float width, float kerf, float height) |
| |
| int | ApertureDestroy (Aperture *obj) |
| |
| int | FreeCArray (void *pData) |
| |
| int | ApertureNDivWSet (Aperture *obj, size_t nDiv) |
| |
| size_t | ApertureNDivWGet (Aperture *obj) |
| |
| int | ApertureNDivHSet (Aperture *obj, size_t nDiv) |
| |
| size_t | ApertureNDivHGet (Aperture *obj) |
| |
| size_t | ApertureNThreadsGet (Aperture *obj) |
| |
| int | ApertureNThreadsSet (Aperture *obj, size_t nThreads) |
| |
| int | ApertureFocusingTypeSet (Aperture *obj, int ftype) |
| |
| int | ApertureCalcCwFieldRef (Aperture *obj, float *pos, size_t nPositions, size_t nDim, SPS_FCOMPLEX **odata, size_t *nOutPositions) |
| |
| int | ApertureCalcCwFieldFast (Aperture *obj, float *pos, size_t nPositions, size_t nDim, SPS_FCOMPLEX **odata, size_t *nOutPositions) |
| |
External C interface for creation of apertures and computation of continous-wave fields.
- Author
- Jens Munk Hansen jens..nosp@m.munk.nosp@m..hans.nosp@m.en@g.nosp@m.mail..nosp@m.com
- Date
- Fri Sep 8 21:14:16 2017
◆ Aperture
◆ ApertureCalcCwFieldFast()
| int ApertureCalcCwFieldFast |
( |
Aperture * |
obj, |
|
|
float * |
pos, |
|
|
size_t |
nPositions, |
|
|
size_t |
nDim, |
|
|
SPS_FCOMPLEX ** |
odata, |
|
|
size_t * |
nOutPositions |
|
) |
| |
- Parameters
-
| obj | |
| pos | |
| nPositions | |
| nDim | |
| odata | |
| nOutPositions | |
- Returns
◆ ApertureCalcCwFieldRef()
| int ApertureCalcCwFieldRef |
( |
Aperture * |
obj, |
|
|
float * |
pos, |
|
|
size_t |
nPositions, |
|
|
size_t |
nDim, |
|
|
SPS_FCOMPLEX ** |
odata, |
|
|
size_t * |
nOutPositions |
|
) |
| |
- Parameters
-
| obj | |
| pos | |
| nPositions | |
| nDim | |
| odata | |
| nOutPositions | |
- Returns
◆ ApertureCreate()
Constructor
- Returns
- error code
◆ ApertureDestroy()
◆ ApertureFocusingTypeSet()
| int ApertureFocusingTypeSet |
( |
Aperture * |
obj, |
|
|
int |
ftype |
|
) |
| |
◆ ApertureLinearCreate()
| int ApertureLinearCreate |
( |
Aperture ** |
obj, |
|
|
size_t |
nElements, |
|
|
float |
width, |
|
|
float |
kerf, |
|
|
float |
height |
|
) |
| |
◆ ApertureNDivHGet()
| size_t ApertureNDivHGet |
( |
Aperture * |
obj | ) |
|
◆ ApertureNDivHSet()
| int ApertureNDivHSet |
( |
Aperture * |
obj, |
|
|
size_t |
nDiv |
|
) |
| |
◆ ApertureNDivWGet()
| size_t ApertureNDivWGet |
( |
Aperture * |
obj | ) |
|
◆ ApertureNDivWSet()
| int ApertureNDivWSet |
( |
Aperture * |
obj, |
|
|
size_t |
nDiv |
|
) |
| |
◆ ApertureNThreadsGet()
| size_t ApertureNThreadsGet |
( |
Aperture * |
obj | ) |
|
◆ ApertureNThreadsSet()
| int ApertureNThreadsSet |
( |
Aperture * |
obj, |
|
|
size_t |
nThreads |
|
) |
| |
◆ FreeCArray()
| int FreeCArray |
( |
void * |
pData | ) |
|