Welcome, Guest
Username: Password: Remember me

TOPIC: Global/Local nodes number

Global/Local nodes number 13 years 9 months ago #1141

  • YannV
  • YannV's Avatar
Hi all,

During parallel computation, is there something (a function or a table) allowing to find the local number of a given node (in a given submodel), knowing its global number (in the entire model) ?

Thanks for you answer.

YV.
The administrator has disabled public write access.

Re:Global/Local nodes number 13 years 9 months ago #1142

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Hello YannV,

Please first note that there are many ways you exchange information between the global node numbers (your original geometry) and your local node numbers (once your original domain has been split for parallel in multiple domains, each with its own numbering system). Everything depends on your situation.

Not know more about what you are trying to achieve, I would advise you to use the following objects (from BEIF_DEF, itself included in BIEF):

- TYPE(BIEF_OBJ), POINTER :: KNOLG
which gives the global node number of a local node

- TYPE(BIEF_OBJ), POINTER :: KNOGL
the inverse of KNOLG, with KNOGL(KNOLG(I))=I, which gives local node number for a given global node number

Hope this helps.

Sébastien
The administrator has disabled public write access.

Re:Global/Local nodes number 13 years 9 months ago #1143

  • YannV
  • YannV's Avatar
This is what I was looking for. I think this will help me.
Thanks.
YV.
The administrator has disabled public write access.

Re:Global/Local nodes number 13 years 9 months ago #1144

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
Very Good.

Please note for your information that you can download the guide for Programmers (telemac_guide_for_programming_v6p0) from this website (DOC->GENERAL). The link between Global and Local number is explained on page 50, amongst many other interesting things.

Best regards,
Sébastien.
The administrator has disabled public write access.
Moderators: pham

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.