Dimension-Independence (C++)
Asked by
Pietro Maximoff
Hello all
Is there a way to program dimension-
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
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Anders Logg
- Solved:
- Last query:
- Last reply:
To post a message you must log in.