I finally got around to finishing adding MeshWorker into step-33. I changed
right_hand_side to a TrilinosWrappers::Vector type.
But now I get following error
$ make
============================ Remaking Makefile.dep
==============debug========= claw.cc -> claw.g.o
claw.cc: In member function ‘std::pair<unsigned int, double>
ConservationLaw<dim>::solve(dealii::Vector<double>&)’:
claw.cc:263: error: ‘class dealii::TrilinosWrappers::Vector’ has no member
named ‘begin’
make: *** [claw.g.o] Error 1
This is happening at this part of the code
Epetra_Vector b(View, system_matrix.range_partitioner(),
right_hand_side.begin());
My knowledge of Trilinos is zero so I am stuck here.
Thanks
praveen
On Thu, Mar 3, 2011 at 8:54 PM, Timo Heister <[email protected]
> wrote:
> > I was able to separate step-33 into different files and compile them.
> > After that I started to add MeshWorker but I am getting compile errors
> which
> > I wrote here
> > [..]
> > MeshWorker::Assembler::SystemSimple<TrilinosWrappers::SparseMatrix,
> Vector<double> > assembler;
>
> You need to use a Trilinoswrappers::Vector or
> Trilinoswrappers::MPI::Vector together with a
> TrilinosWrappers::SparseMatrix.
>
> --
> Timo Heister
> http://num.math.uni-goettingen.de/~heister
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii