gmarkall / manycore_form_compiler

MCFC is deprecated. See https://code.launchpad.net/~grm08/ffc/pyop2
https://code.launchpad.net/~grm08/ffc/pyop2
GNU General Public License v3.0
3 stars 1 forks source link

Run Model tries to extract coefficients by giving the name of the variable in UFL instead of the name of the field #5

Closed gmarkall closed 13 years ago

gmarkall commented 13 years ago

Example:

T=state.scalar_fields['Tracer',c] mu=Coefficient(T)

Leads to:

double* TCoeff = state->getElementValue("T");

instead of:

double* TCoeff = state->getElementValue("Tracer");

gmarkall commented 13 years ago

Fixed by:

" [master e565c3a] Fix Issue 5."