FV3 Bundle
oops::DiagonalMatrix< VECTOR > Class Template Reference

Diagonal matrix. More...

#include <DiagonalMatrix.h>

Inheritance diagram for oops::DiagonalMatrix< VECTOR >:
[legend]
Collaboration diagram for oops::DiagonalMatrix< VECTOR >:
[legend]

Public Member Functions

 DiagonalMatrix (const VECTOR &diag)
 
 ~DiagonalMatrix ()
 
void multiply (const VECTOR &v1, VECTOR &v2) const
 
void inverseMultiply (const VECTOR &v1, VECTOR &v2) const
 

Private Attributes

const VECTOR diag_
 

Detailed Description

template<typename VECTOR>
class oops::DiagonalMatrix< VECTOR >

Diagonal matrix.

Definition at line 20 of file DiagonalMatrix.h.

Constructor & Destructor Documentation

◆ DiagonalMatrix()

template<typename VECTOR >
oops::DiagonalMatrix< VECTOR >::DiagonalMatrix ( const VECTOR &  diag)
inlineexplicit

Definition at line 22 of file DiagonalMatrix.h.

◆ ~DiagonalMatrix()

template<typename VECTOR >
oops::DiagonalMatrix< VECTOR >::~DiagonalMatrix ( )
inline

Definition at line 23 of file DiagonalMatrix.h.

Member Function Documentation

◆ inverseMultiply()

template<typename VECTOR >
void oops::DiagonalMatrix< VECTOR >::inverseMultiply ( const VECTOR &  v1,
VECTOR &  v2 
) const
inline

Definition at line 30 of file DiagonalMatrix.h.

◆ multiply()

template<typename VECTOR >
void oops::DiagonalMatrix< VECTOR >::multiply ( const VECTOR &  v1,
VECTOR &  v2 
) const
inline

Definition at line 25 of file DiagonalMatrix.h.

Member Data Documentation

◆ diag_

template<typename VECTOR >
const VECTOR oops::DiagonalMatrix< VECTOR >::diag_
private

Definition at line 36 of file DiagonalMatrix.h.


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