On 09/30/2017 08:46 AM, 曾元圆 wrote:
I‘m compiling a source code written by others. And this error occurred. I know it's because of the version of dealii. And I just want to know what this error really mean and how can I solve such kind of error. Because now I just want to be confirmed that the code work well so I don't want to go deep into the code (It's too time consuming to learn in detail how everything is going inside the code for me now)


/home/dyfluid/DG/dflo/src/claw.cc: In member function ‘const dealii::Mapping<dim>& ConservationLaw<dim>::mapping() const’: /home/dyfluid/DG/dflo/src/claw.cc:175:26: error: wrong number of template arguments (1, should be 2)
        static MappingQ<dim> m(2);

The problem will go away if you add
  #include <deal.II/fe/mapping_q.h>
to the file.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to