ARTS
2.4.0(git:4fb77825)
|
Interface for distributed ARTS forward model. More...
#include <oem_mpi.h>
Public Member Functions | |
AgendaWrapperMPI (Workspace *ws_, const Agenda *inversion_iterate_agenda, Index m_, Index n_) | |
MPIMatrix | Jacobian (const OEMVector &xi, OEMVector &yi) |
Compute Jacobian of forward model. More... | |
OEMVector | evaluate (const OEMVector &xi) |
Evaluate forward model. More... | |
Public Attributes | |
const unsigned int | m |
const unsigned int | n |
Private Attributes | |
Workspace * | ws_ |
Pointer to current workspace. More... | |
OEMMatrix | local_jacobian_ |
Process-local part of the Jacobian. More... | |
const Agenda * | inversion_iterate_agenda_ |
Pointer to the inversion_iterate_agenda defining the foward model. More... | |
Interface for distributed ARTS forward model.
This special forward model wrapper parallelizes the ARTS mblock calculations over the different MPI processes. Each process only computes a limited range of rows of the measurement vector y and the Jacobian. The measurement vector is returned as a full vector to each process which requires broadcasting the results after the computation.
|
inline |
Evaluate forward model.
Executes the provided inversion_iterate_agenda on the provided workspace to compute the measurement vector.
[in] | xi | The state vector for which to evaluate the forward model. |
Definition at line 98 of file oem_mpi.h.
References inversion_iterate_agenda_, inversion_iterate_agendaExecute(), local_jacobian_, m, and ws_.
|
inline |
Compute Jacobian of forward model.
[in] | xi | The state vector for which to evaluate the forward model. |
[out] | The | measurement vector corresponding to the computed Jacobian. |
Definition at line 77 of file oem_mpi.h.
References inversion_iterate_agenda_, inversion_iterate_agendaExecute(), ARTS::Var::jacobian(), local_jacobian_, m, and ws_.
|
private |
Pointer to the inversion_iterate_agenda defining the foward model.
Definition at line 118 of file oem_mpi.h.
Referenced by evaluate(), and Jacobian().
|
private |
Process-local part of the Jacobian.
Definition at line 116 of file oem_mpi.h.
Referenced by evaluate(), and Jacobian().
const unsigned int oem::AgendaWrapperMPI::m |
Definition at line 59 of file oem_mpi.h.
Referenced by evaluate(), and Jacobian().
|
private |
Pointer to current workspace.
Definition at line 114 of file oem_mpi.h.
Referenced by evaluate(), and Jacobian().