[petsc-users] Using SNES Shell to create a new solution scheme

subramanya sadasiva potaman at outlook.com
Tue Jul 16 19:52:59 CDT 2013


Hi, In addition to simple a > 0 and b > 0 constraints at every point in th e domain, I need to apply an additional a + b  < 1 constraint over the domain. The first two , I understand are pretty easy to do using SNES_VI. To apply the third using the approach used in the reduced space approach, I'd need to modify the bounds function to have the linesearch direction available.The strategies that seem feasible to me are as follows:1. Program a solver using SNES Shell that does it. 2. Program a linesearch and use SNES Linesearch Shell to solve the problem with a standard SNES VI solver. 3. Modify SNES VI in a local installation.
To me. it seems that no.2 is the simplest approach. Are any other approaches feasible?Thanks, 
Subramanya  		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130716/db28260f/attachment.html>


More information about the petsc-users mailing list