Toast++
1.0.2 (r.539)
Forward and inverse modelling in optical tomography
|
Functions | |
STOASTLIB void | GenerateJacobian (const Raster *raster, const QMMesh *mesh, const CCompRowMatrix &mvec, const CVector *dphi, const CVector *aphi, DataScale dscale, RDenseMatrix &J) |
Generate Jacobian matrix of forward operator (complex case) More... | |
STOASTLIB void | GenerateJacobian (const Raster *raster, const QMMesh *mesh, const CVector *dphi, const CVector *aphi, const CVector *proj, DataScale dscale, RDenseMatrix &J) |
Generate Jacobian matrix of forward operator (complex case) More... | |
STOASTLIB void | GenerateJacobian_cw (const Raster *raster, const QMMesh *mesh, const RVector *dphi, const RVector *aphi, RDenseMatrix *Jmua=NULL, RDenseMatrix *Jkap=NULL) |
Generate raw Jacobian matrix for CW intensity data (real case) More... | |
STOASTLIB void | GenerateJacobian_cw (const Raster *raster, const QMMesh *mesh, const RCompRowMatrix &mvec, const RVector *dphi, const RVector *aphi, DataScale dscale, RDenseMatrix *Jmua=NULL, RDenseMatrix *Jkap=NULL) |
Generate Jacobian matrix for CW intensity data (real case). More... | |
STOASTLIB void | GenerateJacobian_cw (const Raster *raster, const QMMesh *mesh, const RVector *dphi, const RVector *aphi, const RVector *proj, DataScale dscale, RDenseMatrix *Jmua=NULL, RDenseMatrix *Jkap=NULL) |
Generate mua Jacobian matrix for CW intensity data (real case). More... | |
STOASTLIB void | GenerateJacobian (const Raster *raster, const QMMesh *mesh, const CCompRowMatrix &mvec, const CVector *dphi, const CVector *aphi, DataScale dscale, RDenseMatrixMPI &Jmod, RDenseMatrixMPI &Jarg) |
Generate Jacobian matrix of forward operator (complex case) More... | |
STOASTLIB void | GenerateJacobian (const Raster *raster, const QMMesh *mesh, const CVector *dphi, const CVector *aphi, const CVector *proj, DataScale dscale, RDenseMatrixMPI &Jmod, RDenseMatrixMPI &Jarg) |
Generate Jacobian matrix of forward operator (complex case) More... | |
STOASTLIB void | GenerateJacobian_cw_mua (const Raster *raster, const QMMesh *mesh, const RCompRowMatrix &mvec, const RVector *dphi, const RVector *aphi, DataScale dscale, RDenseMatrixMPI &J) |
Generate Jacobian matrix for CW intensity data (real case). More... | |
This section contains functions that calculate the Jacobian matrix for the frequency-domain diffusion equation, in terms of absorption and diffusion coefficient, and either for real and imaginary parts of the complex data, or for log amplitude and phase.
STOASTLIB void GenerateJacobian | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const CCompRowMatrix & | mvec, | ||
const CVector * | dphi, | ||
const CVector * | aphi, | ||
DataScale | dscale, | ||
RDenseMatrixMPI & | Jmod, | ||
RDenseMatrixMPI & | Jarg | ||
) |
Generate Jacobian matrix of forward operator (complex case)
raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
mesh | FEM forward mesh |
mvec | measurement vectors (rows of sparse matrix) |
dphi | array of forward fields |
aphi | array of adjoint fields |
dscale | data scaling flag (lin/log) |
Jmod | Jacobian (log amplitude block) |
Jarg | Jacobian (phase block) |
STOASTLIB void GenerateJacobian | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const CCompRowMatrix & | mvec, | ||
const CVector * | dphi, | ||
const CVector * | aphi, | ||
DataScale | dscale, | ||
RDenseMatrix & | J | ||
) |
Generate Jacobian matrix of forward operator (complex case)
raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
mesh | FEM forward mesh |
mvec | measurement vectors (rows of sparse matrix) |
dphi | array of forward fields |
aphi | array of adjoint fields |
dscale | data scaling flag (lin/log) |
J | Jacobian |
elbasis | (only used if raster==0) If true, returned Jacobian is generated for piecewise constant element basis rather than shape function basis |
STOASTLIB void GenerateJacobian | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const CVector * | dphi, | ||
const CVector * | aphi, | ||
const CVector * | proj, | ||
DataScale | dscale, | ||
RDenseMatrixMPI & | Jmod, | ||
RDenseMatrixMPI & | Jarg | ||
) |
Generate Jacobian matrix of forward operator (complex case)
raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
mesh | FEM forward mesh |
mvec | measurement vectors (rows of sparse matrix) |
dphi | array of forward fields |
aphi | array of adjoint fields |
dscale | data scaling flag (lin/log) |
Jmod | Jacobian (log amplitude block) |
Jarg | Jacobian (phase block) |
STOASTLIB void GenerateJacobian | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const CVector * | dphi, | ||
const CVector * | aphi, | ||
const CVector * | proj, | ||
DataScale | dscale, | ||
RDenseMatrix & | J | ||
) |
Generate Jacobian matrix of forward operator (complex case)
raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
mesh | FEM forward mesh |
dphi | array of forward fields |
aphi | array of adjoint fields |
dscale | data scaling flag (lin/log) |
J | Jacobian |
elbasis | (only used if raster==0) If true, returned Jacobian is generated for piecewise constant element basis rather than shape function basis |
STOASTLIB void GenerateJacobian_cw | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const RVector * | dphi, | ||
const RVector * | aphi, | ||
RDenseMatrix * | Jmua = NULL , |
||
RDenseMatrix * | Jkap = NULL |
||
) |
Generate raw Jacobian matrix for CW intensity data (real case)
[in] | raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
[in] | mesh | FEM forward mesh |
[in] | dphi | array of direct fields |
[in] | aphi | array of adjoint fields |
[out] | Jmua | pointer to Jacobian matrix (absorption component), or NULL if not required |
[out] | Jkap | pointer to Jacobian matrix (diffusion component), or NULL if not required |
STOASTLIB void GenerateJacobian_cw | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const RCompRowMatrix & | mvec, | ||
const RVector * | dphi, | ||
const RVector * | aphi, | ||
DataScale | dscale, | ||
RDenseMatrix * | Jmua = NULL , |
||
RDenseMatrix * | Jkap = NULL |
||
) |
Generate Jacobian matrix for CW intensity data (real case).
[in] | raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
[in] | mesh | FEM forward mesh |
[in] | mvec | measurement vectors (rows of sparse matrix) |
[in] | dphi | array of forward fields |
[in] | aphi | array of adjoint fields |
[in] | dscale | data scaling flag (lin/log) |
[out] | Jmua | Jacobian matrix (absorption component) |
[out] | Jkap | Jacobian matrix (diffusion component) |
STOASTLIB void GenerateJacobian_cw | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const RVector * | dphi, | ||
const RVector * | aphi, | ||
const RVector * | proj, | ||
DataScale | dscale, | ||
RDenseMatrix * | Jmua = NULL , |
||
RDenseMatrix * | Jkap = NULL |
||
) |
Generate mua Jacobian matrix for CW intensity data (real case).
[in] | raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
[in] | mesh | FEM forward mesh |
[in] | dphi | array of forward fields |
[in] | aphi | array of adjoint fields |
[in] | dscale | data scaling flag (lin/log) |
[out] | Jmua | Jacobian matrix (absorption component) |
[out] | Jkap | Jacobian matrix (diffusion component) |
STOASTLIB void GenerateJacobian_cw_mua | ( | const Raster * | raster, |
const QMMesh * | mesh, | ||
const RCompRowMatrix & | mvec, | ||
const RVector * | dphi, | ||
const RVector * | aphi, | ||
DataScale | dscale, | ||
RDenseMatrixMPI & | J | ||
) |
Generate Jacobian matrix for CW intensity data (real case).
raster | solution basis mapper, or NULL to generate the Jacobian directly on the forward mesh |
mesh | FEM forward mesh |
mvec | measurement vectors (rows of sparse matrix) |
dphi | array of forward fields |
aphi | array of adjoint fields |
dscale | data scaling flag (lin/log) |
J | Jacobian |