Skip to content

Commit 8333764

Browse files
committed
PR changes 1
1 parent e26dc5b commit 8333764

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/pmpo_MPMesh.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ void MPMesh::T2LTracking(Vec2dView dx){
296296
p_MPs->parallel_for(T2LCalc,"T2lTrackingCalc");
297297
}
298298

299-
void MPMesh::reconstructSlices() {
299+
void MPMesh::reconstructSlices() {
300300
if (reconstructSlice.size() == 0) return;
301301
Kokkos::Timer timer;
302302
calcBasis();

src/pmpo_MPMesh_assembly.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ void MPMesh::assemblyElm0() {
102102
template <MeshFieldIndex meshFieldIndex>
103103
void MPMesh::assemblyVtx1() {
104104

105-
//Mesh Inforamtion
105+
//Mesh Information
106106
auto elm2VtxConn = p_mesh->getElm2VtxConn();
107107
int numVtx = p_mesh->getNumVertices();
108108
auto vtxCoords = p_mesh->getMeshField<polyMPO::MeshF_VtxCoords>();

src/pmpo_c.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ void polympo_push_f(MPMesh_ptr p_mpmesh){
925925
}
926926

927927
//TODO skeleton of reconstruction functions
928-
void polympo_setReconstructionOfMass_f(MPMesh_ptr p_mpmesh, const int order, const int meshEntType){
928+
void polympo_setReconstructionOfMass_f(MPMesh_ptr p_mpmesh, const int order, const int meshEntType){
929929
checkMPMeshValid(p_mpmesh);
930930
auto mpmesh = ((polyMPO::MPMesh*)p_mpmesh);
931931
polyMPO::MeshFieldType type = static_cast<polyMPO::MeshFieldType>(meshEntType);

test/calculateDisplacement.f90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ subroutine calcSurfDispIncr(mpMesh, latVertex, lonVertex, nEdgesOnCell, vertices
1111
integer :: i, j, nVertices, nCompsDisp, scale_use
1212
real(kind=MPAS_RKIND), dimension(:,:), pointer :: dispIncr
1313
type(c_ptr) :: mpMesh
14-
INTEGER, INTENT(IN), OPTIONAL :: scale
14+
integer, intent(in), optional :: scale
1515

16-
IF (PRESENT(scale)) THEN
16+
if (present(scale)) then
1717
scale_use=scale
18-
ELSE
18+
else
1919
scale_use=1
20-
END IF
20+
end if
2121

2222
nCompsDisp = 2
2323
allocate(dispIncr(nCompsDisp,nVertices))

0 commit comments

Comments
 (0)