← Back to team overview

dolfin team mailing list archive

Re: [Question #116222]: MPI Problem

 

Question #116222 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/116222

Garth Wells proposed the following answer:
On Sat, 2010-08-14 at 22:16 +0000, Pietro Maximoff wrote:
> Question #116222 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/116222
> 
> Pietro Maximoff posted a new comment:
> Thanks Garth, creating the vectors with V.dofmap().global_dimension()
> does solve the MPI problem. Apologies for not acknowledging the reply
> much earlier.
> 
> Is there a function/way to associate with each member of
> V.dofmap().global_dimension(), its coordinate, e.g., like a function
> that gives the coordinates of the support points?
> 

Yes. Take a look at DofMap::tabulate_coordinates.

Garth

> Thanks
> 
> Pietro
>

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.