Hi Vikram, Thanks for the reply. I'm not using FEMSystem, so I'm not sure whether I can still overload functions you suggested. I'm looking for some ways compatible with introduction_ex3.
K. Lee. On Wed, Feb 6, 2013 at 10:49 PM, Vikram Garg <[email protected]>wrote: > Hey Kyunghoon, > If you are using FEMSystem, then adjoints ex_1 > has examples of evaluating Quantities of Interest (QoIs) of the kind you > are describing. Essentially, we overload the postprocess, > element_postprocess and side_postprocess functions to do the particular > post processing we want to do. > > Overloading element_postprocess will allow you to compute \in_{\Omega} u > d\Omega and side_postprocess will allow you to compute \in_{\Gamma} u > d\Gamma > > Thanks. > > On Tue, Feb 5, 2013 at 10:20 PM, Kyunghoon Lee <[email protected] > > wrote: > >> Dear all, >> >> I'd like to evaluate outputs after solving the 2D Poisson example; for >> instance, the sum of u over the entire domain, \in_{\Omega} u d\Omega, and >> the sum of u over specific boundaries, \in_{\Gamma} u d\Gamma. I guess I >> need to put some codes for output evaluations after >> >> equation_systems.get_system("Poisson").solve(); >> >> , but I'm not sure of what to do --- do I need to create some assembly >> functions for output evaluations then attach to the system? I'd >> appreciate >> it if someone could show necessary steps briefly. >> >> Best regards, >> K. Lee. >> >> ------------------------------------------------------------------------------ >> Free Next-Gen Firewall Hardware Offer >> Buy your Sophos next-gen firewall before the end March 2013 >> and get the hardware for free! Learn more. >> http://p.sf.net/sfu/sophos-d2d-feb >> _______________________________________________ >> Libmesh-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/libmesh-users >> >> -- >> Vikram Garg >> Postdoctoral Associate >> Center for Computational Engineering >> Massachusetts Institute of Technology >> >> <https://lists.sourceforge.net/lists/listinfo/libmesh-users> >> <https://lists.sourceforge.net/lists/listinfo/libmesh-users> >> http://www.runforindia.org/runners/vikramg >> > ------------------------------------------------------------------------------ Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
