integrating functional in C++ (Cahn-Hilliard equation)
Asked by
Payman Tohidifar
Hello,
I need to compute the integral of functional u over a domain. I used assemble(u*dx) in python and it worked pretty well. However, I don't know how to employ assemble function in C++ specially in Cahn-Hilliard problem (C++ Demo) to integrate functional since u is a pointer. I would appreciate if you could help me out.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Blechta
- Solved:
- Last query:
- Last reply:
To post a message you must log in.