Ah.. It works with PETScWrappers::BlockVector!

Thank you



On Tue, October 7, 2008 9:12 pm, Wolfgang Bangerth wrote:
>
>> Bascially, how could we transfer data over beteen two data type with
>> Petsc
>> as being metioned before in my first request?
>>
>>
>> or Is there a better way of creating output file for
>> PETScWrappers::MPI::BlockVector? It's why I would check the solution if
>> it
>> was given properly or not from my solver algorithm.
>
> You try to convert an object of type
>   PETScWrappers::MPI::BlockVector
> to
>   PETScWrappers::Vector
> The part that doesn't work is to convert from a block vector to a regular
> vector. What happens if you try to use an object of type
> PETScWrappers::BlockVector instead?
>
> Best
>  W.
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [EMAIL PROTECTED]
>                                  www: http://www.math.tamu.edu/~bangerth/
>



_______________________________________________

Reply via email to