Hi all

I've noticed that the class QoISet allows you to calculate several QoI, but
how? It seems to me that whenever we attach a QoI, we overwrite whichever
QoI we had before.

  void attach_qoi( DifferentiableQoI* qoi_in )
  { this->diff_qoi = (qoi_in->clone()).release();
    // User needs to resize qoi system qoi accordingly
    this->diff_qoi->init_qoi( this->qoi );}

and this diff_qoi is the one used in the routines to calculate qoi. So I
assume, the solution would be to attach the first QoI, calculate whatever
we want from it (qoi value, adjoint solution, etc) and then attach the
second qoi and calculate the same quantities. I can't see how I should use
QoISet.

Miguel

-- 
*Miguel Angel Salazar de Troya*
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
[email protected]
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to