Setting options on matrices obtained from a DM

Lisandro Dalcin dalcinl at gmail.com
Wed Jul 22 09:56:29 CDT 2009


On Wed, Jul 22, 2009 at 12:20 AM, Barry Smith<bsmith at mcs.anl.gov> wrote:
>
> On Jul 21, 2009, at 7:47 PM, Jed Brown wrote:
>
>> Barry Smith wrote:
>>
>    This is just a limitation of the current implementation due to the way
> the design evolved over time.
> There is nothing intrinsic to the abstract design of PETSc that prevents the
> type from being
> properly processed before the sizes are set.
>

I agree 100% with you.. the only issue are tons of code to review and fix :-(

>
>   This is really yucky API you propose here; that no sane person would
> propose except to work
> around a shortfall in the current implementation.
>

We could start fixing Vec, next go for Mat ...


-- 
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594



More information about the petsc-dev mailing list