[petsc-dev] -ksp_view_binary with DA vectors

Lisandro Dalcin dalcinl at gmail.com
Wed Aug 4 07:04:11 CDT 2010


On 4 August 2010 01:30, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> On Jun 22, 2010, at 4:21 PM, Jed Brown wrote:
>
>> On Tue, 22 Jun 2010 11:30:47 -0500, Barry Smith <bsmith at mcs.anl.gov> wrote:
>>>    Actually we should add the same support for matrices and then the inconsistency would disappear.
>>
>
>   Because we got an email from an intelligent person who went down the wrong track because of this inconsistency I have implemented this. Now the MatView() also remaps back to the natural ordering.
>

Sorry, but I'm still lost with you concept of "inheritance" :-). So
would you consider a good pattern to change (if you were able to)
function pointers in a C++ virtual table? Do you like Python's
new.instacemethod(...) and think it is a proper way to implement APIs?
... I still think we should have DAVecView() and DAMatView().


-- 
Lisandro Dalcin
---------------
CIMEC (INTEC/CONICET-UNL)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
Tel: +54-342-4511594 (ext 1011)
Tel/Fax: +54-342-4511169



More information about the petsc-dev mailing list