Hi all,
I want to use periodic boundary conditions using c++ in my recent simulation. I know how to implement pbc's with the python interface, but I can't find the way to do it in c++ with newest fenics version. I try to find a demo or anything like this for the newest fenics, but I couldn't find anything.
All I know by know is, that I have to use the function
"PeriodicBoundaryComputation" to get a map for master and slave dofs. But what can I do with this map?
If anyone could give me a little example for applying pbc's in c++, that would be enough to solve my problem.