<div dir="auto">Unsubscribe </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 8, 2023, 8:18 AM mario wrk <<a href="mailto:wrkmario@gmail.com">wrkmario@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Dear MITgcm community,<div>Hi, May I ask a very general question, what is the easiest way to implement a cost function for adjoint study? As I find available cost functions in ecco package, can it be easier if I just call a cost function in pkg/ecco?</div><div><br></div><div>I was modifying the legacy code of my group, then I realized, even if I just want to change one variable, for example, Zonal Velocity to Temperature in the COST FUNCTION, I have to modify some other associated files (I did try and might not find all of them). Then I got TAF ERROR: code of function tbar not seen and no flow information set, cannot generate derivative common block variable to tbar</div><div><br></div><div>Best,</div><div>Mario</div></div>
_______________________________________________<br>
MITgcm-support mailing list<br>
<a href="mailto:MITgcm-support@mitgcm.org" target="_blank" rel="noreferrer">MITgcm-support@mitgcm.org</a><br>
<a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" rel="noreferrer noreferrer" target="_blank">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
</blockquote></div>