bc pointwise search by MeshFunction of dim 0
Asked by
Jan Blechta
Hello,
is there currently way to choose points for pointwise DirichletBC by MeshFunction of dim 0?
I know for which points of mesh I would like to set bc (I could mark them by MeshFunction of dim 0 for example). It seems that only way is to create SubDomain with inside method. So everytime bc.apply will be called, all points will be checked by calling inside method of SubDomain object instead of simply checking for value of corresponding MeshFunction.
Thanks,
Jan
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Garth Wells
- Solved:
- Last query:
- Last reply:
To post a message you must log in.