New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
WorkingGroups/TAM/ReferenceManual/testing/adjoint – NEMO
wiki:WorkingGroups/TAM/ReferenceManual/testing/adjoint

Version 2 (modified by vigilant, 15 years ago) (diff)

--

Last edited Timestamp?

Adjoint test

Principle

The adjoint test checks that the adjoint is the adjoint of the tangent using the adjoint definition. By definition, given a linear operator A going from a space E to a spece F, and scalar products <.,.>_E, and <.,.>_F in these respective spcaces, the adjoint of A is the linear operator A_ad such that for any vectors (x,y) in the suitable spaces,

<Ax,y>_F = <x,A_ad y>_E

In practice, we apply the comparison to perturbations state vectors dx and dy. We have then to compare:

<Adx,dy>_F = <dx,A_ad dy>_E

Requierements

Unitary Test

Global Test

MPP test