Sorry,
This is the error I have got while compiling code. Note that "no matching
function for call ~~~~" .
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.
Thank you.
test1.cc: In member function void Stokes<dim>::output_results(unsigned
int) const [with int dim = 2]:
test1.cc:621: instantiated from void Stokes<dim>::run() [with int dim =
2]
test1.cc:671: instantiated from here
test1.cc:628: error: no matching function for call to
dealii::PETScWrappers::Vector::Vector(const
dealii::PETScWrappers::MPI::BlockVector&)
/home/miranus/ysh/deal.IIsvn/lac/include/lac/petsc_vector.h:100: note:
candidates are: dealii::PETScWrappers::Vector::Vector(const
dealii::PETScWrappers::MPI::Vector&)
/home/miranus/ysh/deal.IIsvn/lac/include/lac/petsc_vector.h:84: note:
dealii::PETScWrappers::Vector::Vector(const
dealii::PETScWrappers::Vector&)
/home/miranus/ysh/deal.IIsvn/lac/include/lac/petsc_vector.h:69: note:
dealii::PETScWrappers::Vector::Vector(unsigned int)
/home/miranus/ysh/deal.IIsvn/lac/include/lac/petsc_vector.h:53: note:
dealii::PETScWrappers::Vector::Vector()
make: *** [test1.g.o]
On Tue, October 7, 2008 3:09 pm, Wolfgang Bangerth wrote:
>
>> PETScWrappers::MPI::BlockVector solution;
>>
>> template <int dim>
>> void ElasticProblem<dim>::output_results (const unsigned int cycle)
>> const
>> {
>> const PETScWrappers::Vector localized_solution (solution);
>> //----------------------------------------------------------------
>>
>> But, while compiling, error message was occured.
>
> Why don't you be more specific about what error exactly occured? It's hard
> to
> guess what may go wrong...
>
> W.
>
> --
> -------------------------------------------------------------------------
> Wolfgang Bangerth email: [EMAIL PROTECTED]
> www: http://www.math.tamu.edu/~bangerth/
>
_______________________________________________