Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating ReallocateUtility #294

Merged
merged 1 commit into from
Mar 12, 2024
Merged

Conversation

vickysharma0812
Copy link
Member

@vickysharma0812 vickysharma0812 commented Mar 12, 2024

Updates in Reference Element

Adding FaceConnectivity and Edge connectivity methods


Generated summary (powered by Graphite)

TL;DR

This pull request adds interfaces and module procedures for reallocating multidimensional arrays of different data types in Fortran.

What changed

  • Added interfaces for reallocating arrays of real numbers and integers with different dimensions and data types.
  • Defined module procedures for reallocating arrays of different data types (REAL64, REAL32, INT64, INT32, INT16, INT8).
  • Included interfaces for reallocating arrays with dimensions ranging from 1D to 7D.
  • Implemented subroutines for reallocating arrays based on input parameters.

How to test

  1. Compile the Fortran file containing the ReallocateUtility module.
  2. Use test cases to call the different interfaces and module procedures for reallocating arrays.
  3. Verify that the arrays are reallocated correctly based on the input parameters.
  4. Check for any errors or warnings during compilation and testing.

Why make this change

  • Enhances the functionality of the ReallocateUtility module by adding support for reallocating arrays of various data types and dimensions.
  • Provides a more flexible and efficient way to manage memory allocation for multidimensional arrays in Fortran programs.
  • Improves code readability and maintainability by organizing the reallocation procedures into separate interfaces and module procedures.

Copy link
Member Author

vickysharma0812 commented Mar 12, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @vickysharma0812 and the rest of your teammates on Graphite Graphite

Copy link
Member Author

vickysharma0812 commented Mar 12, 2024

Merge activity

@vickysharma0812 vickysharma0812 changed the base branch from 03-11-Updates_in_RefElem_FaceElemType to dev March 12, 2024 10:48
@vickysharma0812 vickysharma0812 force-pushed the 03-12-Updating_ReallocateUtility branch from 4e3b400 to 0a70345 Compare March 12, 2024 10:49
@vickysharma0812 vickysharma0812 merged commit e2eb58e into dev Mar 12, 2024
1 check passed
@vickysharma0812 vickysharma0812 deleted the 03-12-Updating_ReallocateUtility branch March 21, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants