← Back to team overview

dolfin team mailing list archive

_cell in Function

 

Hi!

I've added a _cell member variable to Function. The reason is that I'm
working on contact mechanics, and contact forces need information
about the geometry.

I think more applications could have use for this information. For
example, a function might need to know the cell size, which could be
computed this way.

This means Function::interpolate() is no longer const. Tell me if you
think this is acceptable, or if we should look for alternative
implementations.

  Johan



Follow ups