This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

What is the Difference - Coefficient and Function

+6 votes

In the .ufl files defining solutions, I saw examples as:
function space:

RR = FiniteElement("CG", tetrahedron, 2)

and solution:

u = Coefficient(RR)

or:

u = Function(RR)

So any difference between this two?

Thanks!

asked Jun 22, 2015 by qiangzini FEniCS Novice (760 points)

1 Answer

+2 votes
 
Best answer

Hi, according to ChangeLog Coefficient class replaced Function class way back in 2010. Those .ufl files with Function are no longer valid.

answered Jul 2, 2015 by MiroK FEniCS Expert (80,920 points)
selected Jul 3, 2015 by qiangzini
...