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

Ta/mpas cell centers #35

Open
wants to merge 3 commits into
base: cws/pumipicDps
Choose a base branch
from
Open

Conversation

tomeravgil
Copy link

No description provided.

@cwsmith
Copy link
Contributor

cwsmith commented Nov 17, 2023

@tomeravgil Please rebase this branch on cws/pumipicDps, or merge cws/pumipicDps into this branch, to resolve the merge conflicts. Also, please provide (1) a name for the PR that isn't just the branch name and (2) a brief description/summary of the PR.

Copy link

@onkarsahni onkarsahni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RPIFisherman: Yang, please look into this and make changes.
@tomeravgil: Tomer, Yang will help me finish this off.

Copy link
Contributor

@RPIFisherman RPIFisherman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need changes and resolving conflicts. I will solve this, no worries.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove personal attribute files, and put this in .gitignore

int nElms = p_mesh->getNumElements();
return nElms;
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove empty lines

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this .mod file.

zArray[i] = h_centersArray(i,2);
}
}
*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't need the code, please remove it.

void polympo_setMeshVtxCoords(MPMesh_ptr p_mpmesh, int nCells, double* xArray, double* yArray, double* zArray);
void polympo_getMeshVtxCoords(MPMesh_ptr p_mpmesh, int nCells, double* xArray, double* yArray, double* zArray);
//void polympo_setMeshCellCenters(MPMesh_ptr p_mpmesh, int nCenters, double* xArray, double* yArray, double* zArray);
//void polympo_getMeshCellCenters(MPMesh_ptr p_mpmesh, int nCenters, double* xArray, double* yArray, double* zArray);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented-out code.

! integer(c_int), value :: nVertices
! type(c_ptr), value :: xArray, yArray, zArray
!end subroutine
!---------------------------------------------------------------------------
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented-out code.

@@ -105,6 +109,8 @@ class Mesh {
IntElm2ElmView getElm2ElmConn() { return elm2ElmConn_; }
template<MeshFieldIndex index> auto getMeshField();
void setMeshVtxBasedFieldSize();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the empty line.

@@ -125,7 +125,8 @@ subroutine readMPASMesh(filename, maxEdges, vertexDegree, &
nCells, nVertices, nEdgesOnCell, &
onSphere, sphereRadius, &
xVertex, yVertex, zVertex, &
verticesOnCell, cellsOnCell)
verticesOnCell, cellsOnCell)!,&
!cellCenters)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented-out code.

! write(0, *) trim(nf90_strerror(status))
! stop
!end if

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented-out code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants