libMesh::SensitivityData::Row Class Reference

#include <sensitivity_data.h>

Public Member Functions

 Row (SensitivityData &sd, unsigned int qoi)
 
Numberoperator[] (unsigned int parameter)
 

Private Attributes

SensitivityData_sd
 
unsigned int _qoi
 

Detailed Description

Definition at line 49 of file sensitivity_data.h.

Constructor & Destructor Documentation

◆ Row()

libMesh::SensitivityData::Row::Row ( SensitivityData sd,
unsigned int  qoi 
)
inline

Definition at line 52 of file sensitivity_data.h.

52 : _sd(sd), _qoi(qoi) {}

Member Function Documentation

◆ operator[]()

Number& libMesh::SensitivityData::Row::operator[] ( unsigned int  parameter)
inline

Definition at line 54 of file sensitivity_data.h.

References _qoi, _sd, and libMesh::SensitivityData::derivative().

54 { return _sd.derivative(_qoi, parameter); }
const Number & derivative(unsigned int qoi_index, unsigned int parameter_index) const

Member Data Documentation

◆ _qoi

unsigned int libMesh::SensitivityData::Row::_qoi
private

Definition at line 57 of file sensitivity_data.h.

Referenced by operator[]().

◆ _sd

SensitivityData& libMesh::SensitivityData::Row::_sd
private

Definition at line 56 of file sensitivity_data.h.

Referenced by operator[]().


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