libMesh::SensitivityData::ConstRow Class Reference

#include <sensitivity_data.h>

Public Member Functions

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

Private Attributes

const SensitivityData_sd
 
unsigned int _qoi
 

Detailed Description

Definition at line 60 of file sensitivity_data.h.

Constructor & Destructor Documentation

◆ ConstRow()

libMesh::SensitivityData::ConstRow::ConstRow ( const SensitivityData sd,
unsigned int  qoi 
)
inline

Definition at line 63 of file sensitivity_data.h.

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

Member Function Documentation

◆ operator[]()

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

Definition at line 65 of file sensitivity_data.h.

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

65 { 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::ConstRow::_qoi
private

Definition at line 68 of file sensitivity_data.h.

Referenced by operator[]().

◆ _sd

const SensitivityData& libMesh::SensitivityData::ConstRow::_sd
private

Definition at line 67 of file sensitivity_data.h.

Referenced by operator[]().


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