[aspect-devel] cannot allocate an object of abstract type ‘aspect::MaterialModel::Simpler<3>’

Wolfgang Bangerth bangerth at tamu.edu
Tue Feb 14 15:54:04 PST 2017

On 02/14/2017 01:34 PM, Lev Karatun wrote:
> Hi all,
> I was updating Aspect to the recent version (with plugins on top of it)
> but I'm getting the following error when trying to compile it:
> /home/lev/aspect/aspect_new_release/include/aspect/plugins.h:86:33:
> error: cannot allocate an object of abstract type
> ‘aspect::MaterialModel::Simpler<3>’
>            return new ModelClass();

There should be another piece of text after that that says something 
along the lines "...because the following function is abstract: ...". 
Can you post that as well?

Do you have any changes in your code base compared to the upstream 


Wolfgang Bangerth          email:                 bangerth at colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/

More information about the Aspect-devel mailing list