Dear Roy,

It's me again. Checking the code I realised that this command line option
"--solver_system_names", also appears in the petsc_auto_fieldsplit.C
Is there a command line option also to setup (automatically) the
PCFIELDSPLIT such that I can use physics based preconditioners, like Least
Square Commutator (LSC), that I know we can call in PETSc with a simple
combination of command line options, once the fields blocks are well
defined?

My big question actually is how to setup all this framework and put them to
work? Is there any worked example?

Thank you very much one more time.
Best,
Adriano.


2017-04-06 12:18 GMT-03:00 Adriano Côrtes <[email protected]>:

> Dear Roy,
>
> Thank you for your promptly reply to my question.
> Yes, your solution worked properly, this is what I wanted.
>
> A.
>
> 2017-04-06 12:02 GMT-03:00 Roy Stogner <[email protected]>:
>
>>
>> On Thu, 6 Apr 2017, Adriano Côrtes wrote:
>>
>> TransientLinearImplicitSystem & flow_system =
>>> this->es.add_system<TransientLinearImplicitSystem> ("flow");
>>>
>>> but if I am using PETSc this name is not used to set the KSP Prefix name,
>>> even though the PetscLinearSolver init methods have the name parameter.
>>>
>>> My question is how do I setup the KSP prefix name to use different
>>> options
>>> for each solver?
>>>
>>
>> For backwards compatibility we kept the prefixes off by default.  In
>> theory you can add the system name as a solver prefix by specifying
>> "--solver_system_names" on the libMesh command line.  In practice I
>> don't think we have any test coverage for that, so scream to the list
>> if it doesn't work for you.
>> ---
>> Roy
>
>
>
>
> --
> Adriano Côrtes
> =================================================
> Research assistant
> High-performance Computing Center (NACAD)
> Federal University of Rio de Janeiro (UFRJ)
>



-- 
Adriano Côrtes
=================================================
Research assistant
High-performance Computing Center (NACAD)
Federal University of Rio de Janeiro (UFRJ)
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to