Skip to content

Conversation

vickysharma0812
Copy link
Member

@vickysharma0812 vickysharma0812 commented Jan 31, 2024

  • Cleaning code in Mesh_Class
  • Moving the code to Abstract_Class

Generated summary (powered by Graphite)

TL;DR

This pull request modifies the "AbstractMesh_Class@IOMethods.F90" file by changing the value of the "boundingEntity" field and adding a condition to initialize the field with a size of 0 if it is not already allocated. It also adds a condition to set the end time for the "TypeCPUTime" variable if a certain condition is met. The code snippet includes various operations related to importing and manipulating mesh data, including reading data from an HDF5 file, initializing data structures, inserting nodes into a binary tree, setting local node and element numbers, and performing operations on arrays.

What changed

  • Modified the value of the "boundingEntity" field
  • Added a condition to initialize the "boundingEntity" field with a size of 0 if not already allocated
  • Added a condition to set the end time for the "TypeCPUTime" variable

How to test

  • Import the modified "AbstractMesh_Class@IOMethods.F90" file into the project
  • Run the project and verify that the changes to the "boundingEntity" field and the "TypeCPUTime" variable are functioning as expected
  • Test the various operations related to importing and manipulating mesh data, including reading data from an HDF5 file, initializing data structures, inserting nodes into a binary tree, setting local node and element numbers, and performing operations on arrays

Why make this change

  • The modification to the "boundingEntity" field and the addition of the condition to initialize it with a size of 0 if not already allocated ensure that the field is properly handled and avoids potential errors or unexpected behavior.
  • The addition of the condition to set the end time for the "TypeCPUTime" variable allows for more accurate timing measurements and improves the overall functionality of the code.
  • The various operations related to importing and manipulating mesh data are necessary for the proper functioning of the program and ensure that the mesh data is correctly processed and utilized.

Copy link
Member Author

vickysharma0812 commented Jan 31, 2024

- Cleaning code in Mesh_Class
- Moving the code to Abstract_Class
@vickysharma0812 vickysharma0812 force-pushed the 01-31-Updates_in_Mesh_Class branch from 2cf0e60 to e96e0f2 Compare January 31, 2024 07:25
@vickysharma0812 vickysharma0812 self-assigned this Jan 31, 2024
@vickysharma0812 vickysharma0812 merged commit 903b1bb into 01-31-Adding_showTime_in_AbstractMesh Jan 31, 2024
@vickysharma0812 vickysharma0812 added this to the v23.10.3 milestone Jan 31, 2024
vickysharma0812 added a commit that referenced this pull request Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant