Parallel function evaluation in 3D
Hi,
today I tried some function evaluation for a given point on an 3d mesh.
With a 2d mesh it works with one process or in parallel (by using parameters[
>>mpirun -np 2 python problem.py
Process 0: Number of global vertices: 1331
Process 0: Number of global cells: 6000
0.99
Traceback (most recent call last):
File "poisson.py", line 7, in <module>
print u(0.33,0.33,0.33)
File "/usr/lib/
self.
RuntimeError:
*** -------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** https:/
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------
*** Error: Unable to perform call to DOLFIN function.
*** Reason: The function compute has not been implemented (in /build/
*** Where: This error was encountered inside log.h.
*** Process: 1
*** -------
Here some minimal Code reproducing the issue:
-------
from dolfin import *
parameters[
mesh = UnitCubeMesh(
V = FunctionSpace(mesh, 'CG', 1)
u = interpolate(
u.update()
print u(0.33,0.33,0.33)
-------
Is it possible to do function evaluation in parallel on a 3d mesh?
At the moment i use dolfin 1.1.0.
Thx for help.
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: