On Fri, 25 Mar 2011, Kirk, Benjamin (JSC-EG311) wrote: > I have just checked in some changes to the System class which allow > objects, rather than function pointers, for assembly, > initialization, and constraints. I tested it with a modified ex9 > whose diff is shown below (not attached to avoid the mailing list > filters). > > I'm pretty happy with it, but am open to suggestions.
Looks good to me. I'd suggest committing that ex9 change as well to provide an example of the new API option. > I intend to do the same thing with the QoI interface but need to > know if the "qoi_indices" are variables that need to be passed to > the QoI computation functions? Yes - in fact the library doesn't do much with them *except* make sure they get passed around to the QoI computation functions. For efficiency's and simplicity's sake our API suggests attaching a single function to calculate every possible QoI, but because users don't want to calculate every QoI every time (or because they might want to weight QoIs differently in error estimators, etc), that calculation function (as well as the derivative calculation function) needs access to the indices & weights in a QoISet. --- Roy ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
