ARTS  2.3.1285(git:92a29ea9-dirty)
AgendaWrapperMPI Class Reference

Wrapper class for forward model using a distributed Jacobian with MPI. More...

#include <agenda_wrapper_mpi.h>

Public Member Functions

 AgendaWrapperMPI (Workspace *ws_, const Agenda *inversion_iterate_agenda_, Index m_, Index n_)
 
MPIMatrix Jacobian (const OEMVector &xi, OEMVector &yi)
 
OEMVector evaluate (const OEMVector &xi)
 

Public Attributes

const unsigned int m
 
const unsigned int n
 

Private Attributes

Workspacews
 
OEMMatrix local_jacobian
 
const Agendainversion_iterate_agenda
 

Detailed Description

Wrapper class for forward model using a distributed Jacobian with MPI.

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.

Definition at line 23 of file agenda_wrapper_mpi.h.

Constructor & Destructor Documentation

◆ AgendaWrapperMPI()

AgendaWrapperMPI::AgendaWrapperMPI ( Workspace ws_,
const Agenda inversion_iterate_agenda_,
Index  m_,
Index  n_ 
)
inline

Definition at line 33 of file agenda_wrapper_mpi.h.

Member Function Documentation

◆ evaluate()

OEMVector AgendaWrapperMPI::evaluate ( const OEMVector &  xi)
inline

Definition at line 57 of file agenda_wrapper_mpi.h.

References inversion_iterate_agendaExecute(), and local_jacobian.

◆ Jacobian()

MPIMatrix AgendaWrapperMPI::Jacobian ( const OEMVector &  xi,
OEMVector &  yi 
)
inline

Definition at line 43 of file agenda_wrapper_mpi.h.

References inversion_iterate_agendaExecute(), and local_jacobian.

Member Data Documentation

◆ inversion_iterate_agenda

const Agenda* AgendaWrapperMPI::inversion_iterate_agenda
private

Definition at line 27 of file agenda_wrapper_mpi.h.

◆ local_jacobian

OEMMatrix AgendaWrapperMPI::local_jacobian
private

Definition at line 26 of file agenda_wrapper_mpi.h.

Referenced by evaluate(), and Jacobian().

◆ m

const unsigned int AgendaWrapperMPI::m

Definition at line 31 of file agenda_wrapper_mpi.h.

◆ n

const unsigned int AgendaWrapperMPI::n

Definition at line 31 of file agenda_wrapper_mpi.h.

◆ ws

Workspace* AgendaWrapperMPI::ws
private

Definition at line 25 of file agenda_wrapper_mpi.h.


The documentation for this class was generated from the following file: