On Fri, 15 Apr 2011, Vikram Garg wrote: > So we would just have to know whether the function calling PETSc is > trying to solve the transpose or a different rhs. Do we want to pass > a vector of bools ? One for the reuse_preconditioner flag, and one > to check whether we are doing the transpose or a different rhs ?
Definitely not a vector of bools; we can have accessors for more than one flag. I wouldn't implement the second distinction as a flag, but as a separate function call: LinearSolver::adjoint_solve(). --- Roy ------------------------------------------------------------------------------ Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev _______________________________________________ Libmesh-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-devel
