On 02/27/2018 07:48 PM, chucui1...@gmail.com wrote:
I want to implement grad(delta_u), but shape_grad_component() is function in Class FEValuesBase, and it can't be used in delta_u directly, so I want to let delta_u be an object in Class FECaluesBase.

But that has nothing to do with the error message you get. The line of code the compiler complains about is simply not C++.

Independent of that, you can't create objects of type FEValuesBase. You can create objects of type FEValues and FEFaceValues, both of which allow you to access the member functions of the base class.

Best
 WB

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           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 dealii+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to