Hi folks,
Just a quick question about dof map. Is there any way to change the dof map associated with a simple rectangle mesh?
Any help is deeply appreciated.
Thanks, Mo
It's not clear what you want, but you can create your own dofmap. It just needs implement the dolfin::GenericDofMap interface.
dolfin::GenericDofMap
Hi Garth,
Thank you for your comment. Creating my own dofmap is exactly what I need. Is there any example about creating my own dofmap via dolfin::GenericDofMap interface?
You just need to create your own C++ sub-class of dolfin::GenericDofMap that implements the pure virtual function in dolfin::GenericDofMap (see dolfin/fem/GenericDofMap.h).
dolfin/fem/GenericDofMap.h
Thank you so much Garth.
Mo