← Back to team overview

ffc team mailing list archive

error

 

When try to compile the code generated by FFC for the DOFLIN Cahn-Hilliard demo (src/demo/nls/cahn-hilliard/CahnHilliard2D.form) , I get the below errors related to undeclared variables.

Garth

CahnHilliard2D.h: In member function ‘virtual void UFC_CahnHilliard2DBilinearForm_cell_integral_0::tabulate_tensor(double*, const double* const*, const ufc::cell&) const’:
CahnHilliard2D.h:3136: error: ‘c3’ was not declared in this scope
CahnHilliard2D.h:3136: error: ‘c2’ was not declared in this scope
CahnHilliard2D.h:3136: error: ‘c1’ was not declared in this scope
CahnHilliard2D.h:4681: error: ‘c0’ was not declared in this scope
CahnHilliard2D.h: In member function ‘virtual void UFC_CahnHilliard2DLinearForm_cell_integral_0::tabulate_tensor(double*, const double* const*, const ufc::cell&) const’:
CahnHilliard2D.h:7572: error: ‘c3’ was not declared in this scope
CahnHilliard2D.h:7572: error: ‘c2’ was not declared in this scope
CahnHilliard2D.h:7572: error: ‘c1’ was not declared in this scope
CahnHilliard2D.h:9654: error: ‘c0’ was not declared in this scope




Follow ups