OOPS
IdentityMatrix.h
Go to the documentation of this file.
1
/*
2
* (C) Copyright 2009-2016 ECMWF.
3
*
4
* This software is licensed under the terms of the Apache Licence Version 2.0
5
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
6
* In applying this licence, ECMWF does not waive the privileges and immunities
7
* granted to it by virtue of its status as an intergovernmental organisation nor
8
* does it submit to any jurisdiction.
9
*/
10
11
#ifndef OOPS_BASE_IDENTITYMATRIX_H_
12
#define OOPS_BASE_IDENTITYMATRIX_H_
13
14
namespace
oops
{
15
16
/// Identity matrix
17
template
<
typename
VECTOR>
18
class
IdentityMatrix
{
19
public
:
20
void
multiply
(
const
VECTOR &
a
, VECTOR & b)
const
{b =
a
;}
21
};
22
23
}
// namespace oops
24
25
#endif // OOPS_BASE_IDENTITYMATRIX_H_
oops
The namespace for the main oops code.
Definition:
ErrorCovarianceL95.cc:22
oops::IdentityMatrix::multiply
void multiply(const VECTOR &a, VECTOR &b) const
Definition:
IdentityMatrix.h:20
oops::IdentityMatrix
Identity matrix.
Definition:
IdentityMatrix.h:18
dcmip_initial_conditions_test_1_2_3::a
real(8), parameter a
Definition:
dcmip_initial_conditions_test_1_2_3_v5.f90:61
fv3-bundle
oops
src
oops
base
IdentityMatrix.h
Generated on Sun Oct 25 2020 12:42:57 for OOPS by
1.8.18