Hi, All,<br>I am reading a large Block Compressed Row Storage PETSc from an application into PETSc binary files. <br><br>And I use matload to load this PETSc binar matrix as mpiaij. Since the matrix is resulting from a finite volume discretization with degree of freedom 5 at each cell center, what I am going to is use pcfieldsplit and PCFieldSplitGetSubKSP. For each filed I want to use the pc type hypre, and hypre type euclid.<br>
<br>My question is: is there any way to send this euclid information by a function call, instead of command line parameter. The thing is that I want to save some typing, just in case that there are ten fields. The way that I am using now is "-fieldsplit_4_sub_pc_type hypre, -fieldsplit_4_sub_pc_hypre_type euclid".<br>
<br><br>Notice that PCSetType can only pass in the "PCHYPRE". <br><br>Thank you very much,<br>
<br>Yan <a name="122516c48adb8de3_PCFieldSplitGetSubKSP"><h1><br></h1></a><a name="122516c48adb8de3_PCFIELDSPLIT"></a>