Welcome, Guest
Username: Password: Remember me

TOPIC: Global node to local

Global node to local 6 years 7 months ago #29428

  • sathya
  • sathya's Avatar
Hello,

Which subroutine assigns the global node numbers to processor based local node number?


Thanks
The administrator has disabled public write access.

Global node to local 6 years 7 months ago #29429

  • Leballeur
  • Leballeur's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 434
  • Thank you received: 163
Hello,

The global node number can be retrieved from the local node number thanks to the attribute array KNOLG of a bief_mesh structure:
global_node_number = MESH%KNOLG%I(local_node_number)
The array KNOLG is assigned in the hermes subroutine get_mesh_l2g_numbering.f

Reciprocally, the local node number can be obtained by the call to the bief function global_to_local.f:
local_node_number = GLOBAL_TO_LOCAL_POINT(global_node_number,MESH)
It returns 0 if the point is not in the subdomain.

Regards,
Laurent
The administrator has disabled public write access.
The following user(s) said Thank You: sathya
Moderators: pham

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