← Back to team overview

dolfin team mailing list archive

[Question #95695]: Dimension-Independence (C++)

 

New question #95695 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/95695

Hello all

Is there a way to program dimension-independence.

I'm able to select a UnitInterval, etc based on the value of a variable 'dim' in main.cpp but the major problem is how to select the right shape for the element, i.e. triangle, tetrahedron, etc via the form (ufl) file based on the dimension.

Is this feasible?

Best wishes

Pietro



-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.