Skip to content

Commit 15a46f3

Browse files
committed
replace geosx with geos in varios variable names and comments
1 parent 4180172 commit 15a46f3

46 files changed

Lines changed: 74 additions & 74 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/coreComponents/common/DataTypes.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
#include <vector>
6666

6767
/*
68-
* top level geosx namespace contains all code that is specific to GEOSX
68+
* top level geos namespace contains all code that is specific to GEOSX
6969
*/
7070
namespace geos
7171
{

src/coreComponents/common/LifoStorageCuda.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class LifoStorageCuda : public LifoStorageCommon< T, INDEX_TYPE >
7878

7979
if( baseLifo::m_maxNumberOfBuffers - id > (int)m_deviceDeque.capacity() )
8080
{
81-
LIFO_MARK_SCOPE( geosx::lifoStorage::pushAddTasks );
81+
LIFO_MARK_SCOPE( geos::lifoStorage::pushAddTasks );
8282
// This buffer will go to host memory, and maybe on disk
8383
std::packaged_task< void() > task( std::bind( &LifoStorageCuda< T, INDEX_TYPE >::deviceToHost, this, baseLifo::m_bufferToHostCount++ ) );
8484
{
@@ -112,7 +112,7 @@ class LifoStorageCuda : public LifoStorageCommon< T, INDEX_TYPE >
112112

113113
if( baseLifo::m_bufferToHostCount > 0 )
114114
{
115-
LIFO_MARK_SCOPE( geosx::LifoStorageCuda::popAddTasks );
115+
LIFO_MARK_SCOPE( geos::LifoStorageCuda::popAddTasks );
116116
// Trigger pull one buffer from host, and maybe from disk
117117
std::packaged_task< void() > task( std::bind( &LifoStorageCuda< T, INDEX_TYPE >::hostToDevice, this, --baseLifo::m_bufferToHostCount, id ) );
118118
{

src/coreComponents/common/LifoStorageHost.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class LifoStorageHost : public LifoStorageCommon< T, INDEX_TYPE >
7474

7575
if( baseLifo::m_maxNumberOfBuffers - pushId > (int)baseLifo::m_hostDeque.capacity() )
7676
{
77-
LIFO_MARK_SCOPE( geosx::lifoStorage::pushAddTasks );
77+
LIFO_MARK_SCOPE( geos::lifoStorage::pushAddTasks );
7878
// This buffer will go to host memory, and maybe on disk
7979
std::packaged_task< void() > t2( std::bind( &LifoStorageHost< T, INDEX_TYPE >::hostToDisk, this, baseLifo::m_bufferToDiskCount++ ) );
8080
{
@@ -117,7 +117,7 @@ class LifoStorageHost : public LifoStorageCommon< T, INDEX_TYPE >
117117

118118
if( baseLifo::m_bufferToDiskCount > 0 )
119119
{
120-
LIFO_MARK_SCOPE( geosx::LifoStorageHost::popAddTasks );
120+
LIFO_MARK_SCOPE( geos::LifoStorageHost::popAddTasks );
121121
// Trigger pull one buffer from host, and maybe from disk
122122
std::packaged_task< void() > task2( std::bind( &LifoStorageHost< T, INDEX_TYPE >::diskToHost, this, --baseLifo::m_bufferToDiskCount ) );
123123
{

src/coreComponents/common/Stopwatch.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,6 @@ class Stopwatch
8989
real64 * m_result{};
9090
};
9191

92-
} // end geosx
92+
} // end geos
9393

9494
#endif

src/coreComponents/constitutive/solid/DamageSpectralUtilities.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,6 @@ void getTestStress( real64 (& strain)[6], real64 (& stress)[6] )
413413
LvArray::tensorOps::scaledAdd< 6 >( stress, positiveStress, damageFactor );
414414
}
415415

416-
} //namespacegeosx
416+
} //namespacegeos
417417

418418
#endif /* GEOS_CONSTITUTIVE_SOLID_DAMAGESPECTRALUTILITIES_HPP_ */

src/coreComponents/denseLinearAlgebra/interfaces/blaslapack/BlasLapackLA.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
#include <random>
2626

27-
// Put everything under the geosx namespace.
27+
// Put everything under the geos namespace.
2828
namespace geos
2929
{
3030

@@ -1115,4 +1115,4 @@ void BlasLapackLA::matrixLeastSquaresSolutionSolve( arraySlice2d< real64 const,
11151115
detail::matrixLeastSquaresSolutionSolve( ACOPY.toSlice(), BCOPY.toSlice(), X );
11161116
}
11171117

1118-
} // end geosx namespace
1118+
} // end geos namespace

src/coreComponents/fileIO/Outputs/ChomboIO.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ChomboIO::ChomboIO( string const & name, Group * const parent ):
4040
{
4141
registerWrapper( viewKeyStruct::outputPathString(), &m_outputPath ).
4242
setInputFlag( InputFlags::REQUIRED ).
43-
setDescription( "Path at which the geosx to chombo file will be written." );
43+
setDescription( "Path at which the geos to chombo file will be written." );
4444

4545
registerWrapper( viewKeyStruct::beginCycleString(), &m_beginCycle ).
4646
setInputFlag( InputFlags::REQUIRED ).
@@ -49,17 +49,17 @@ ChomboIO::ChomboIO( string const & name, Group * const parent ):
4949
registerWrapper( viewKeyStruct::inputPathString(), &m_inputPath ).
5050
setInputFlag( InputFlags::OPTIONAL ).
5151
setDefaultValue( "/INVALID_INPUT_PATH" ).
52-
setDescription( "Path at which the chombo to geosx file will be written." );
52+
setDescription( "Path at which the chombo to geos file will be written." );
5353

5454
registerWrapper( viewKeyStruct::waitForInputString(), &m_waitForInput ).
5555
setInputFlag( InputFlags::REQUIRED ).
5656
setDefaultValue( 0 ).
57-
setDescription( "True iff geosx should wait for chombo to write out a file. When true the inputPath must be set." );
57+
setDescription( "True iff geos should wait for chombo to write out a file. When true the inputPath must be set." );
5858

5959
registerWrapper( viewKeyStruct::useChomboPressuresString(), &m_useChomboPressures ).
6060
setInputFlag( InputFlags::OPTIONAL ).
6161
setDefaultValue( 0 ).
62-
setDescription( "True iff geosx should use the pressures chombo writes out." );
62+
setDescription( "True iff geos should use the pressures chombo writes out." );
6363
}
6464

6565
ChomboIO::~ChomboIO()

src/coreComponents/fileIO/vtk/VTKPolyDataWriterInterface.cpp

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ getVtkToGeosxNodeOrdering( ParticleType const particleType )
122122
/**
123123
* @brief Provide the local list of nodes or face streams for the corresponding VTK element
124124
*
125-
* @param elementType geosx element type
125+
* @param elementType geos element type
126126
* @return list of nodes or face streams
127127
*
128-
* For geosx element with existing standard VTK element the corresponding list of nodes is provided.
129-
* For Prism7+, the geosx element is converted to VTK_POLYHEDRON. The vtkUnstructuredGrid
128+
* For geos element with existing standard VTK element the corresponding list of nodes is provided.
129+
* For Prism7+, the geos element is converted to VTK_POLYHEDRON. The vtkUnstructuredGrid
130130
* stores polyhedron cells as face streams of the following format:
131131
* [numberOfCellFaces,
132132
* (numberOfPointsOfFace0, pointId0, pointId1, ... ),
@@ -358,8 +358,8 @@ getSurface( FaceElementSubRegion const & subRegion,
358358
std::vector< int > cellTypes;
359359
cellTypes.reserve( subRegion.size() );
360360

361-
std::unordered_map< localIndex, localIndex > geosx2VTKIndexing;
362-
geosx2VTKIndexing.reserve( subRegion.size() * subRegion.numNodesPerElement() );
361+
std::unordered_map< localIndex, localIndex > geos2VTKIndexing;
362+
geos2VTKIndexing.reserve( subRegion.size() * subRegion.numNodesPerElement() );
363363
localIndex nodeIndexInVTK = 0;
364364
// FaceElementSubRegion being heterogeneous, the size of the connectivity vector may vary for each element.
365365
// In order not to allocate a new vector every time, we combine the usage of `clear` and `push_back`.
@@ -386,15 +386,15 @@ getSurface( FaceElementSubRegion const & subRegion,
386386
connectivity.clear();
387387
for( int const & ordering : vtkOrdering )
388388
{
389-
auto const & VTKIndexPos = geosx2VTKIndexing.find( nodes[ordering] );
390-
if( VTKIndexPos == geosx2VTKIndexing.end() )
389+
auto const & VTKIndexPos = geos2VTKIndexing.find( nodes[ordering] );
390+
if( VTKIndexPos == geos2VTKIndexing.end() )
391391
{
392-
/// If the node is not found in the geosx2VTKIndexing map:
393-
/// 1. we assign the current value of nodeIndexInVTK to this node in the map (geosx2VTKIndexing[nodes[ordering]] =
392+
/// If the node is not found in the geos2VTKIndexing map:
393+
/// 1. we assign the current value of nodeIndexInVTK to this node in the map (geos2VTKIndexing[nodes[ordering]] =
394394
/// nodeIndexInVTK++).
395395
/// 2. we increment nodeIndexInVTK to ensure the next new node gets a unique index.
396396
/// 3. we add this new VTK node index to the connectivity vector (connectivity.push_back).
397-
connectivity.push_back( geosx2VTKIndexing[nodes[ordering]] = nodeIndexInVTK++ );
397+
connectivity.push_back( geos2VTKIndexing[nodes[ordering]] = nodeIndexInVTK++ );
398398
}
399399
else
400400
{
@@ -407,10 +407,10 @@ getSurface( FaceElementSubRegion const & subRegion,
407407
}
408408

409409
auto points = vtkSmartPointer< vtkPoints >::New();
410-
points->SetNumberOfPoints( geosx2VTKIndexing.size() );
410+
points->SetNumberOfPoints( geos2VTKIndexing.size() );
411411
arrayView2d< real64 const, nodes::REFERENCE_POSITION_USD > const referencePosition = nodeManager.referencePosition();
412412

413-
for( auto nodeIndex: geosx2VTKIndexing )
413+
for( auto nodeIndex: geos2VTKIndexing )
414414
{
415415
auto point = referencePosition[nodeIndex.first];
416416
points->SetPoint( nodeIndex.second, point[0], point[1], point[2] );
@@ -547,7 +547,7 @@ getVtkCells( CellElementRegion const & region,
547547
std::vector< int > const vtkOrdering = getVtkConnectivity( subRegion.getElementType(), subRegionNumNodes );
548548
localIndex const numVtkData = vtkOrdering.size();
549549

550-
// For all geosx element, the corresponding VTK data are copied in "connectivity".
550+
// For all geos element, the corresponding VTK data are copied in "connectivity".
551551
// Local nodes are mapped to global indices. Any negative value in "vtkOrdering"
552552
// corresponds to the number of faces or the number of nodes per faces, and they
553553
// are copied as positive values.

src/coreComponents/linearAlgebra/interfaces/hypre/HypreSolver.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,4 +297,4 @@ void HypreSolver::clear()
297297
m_solver.reset();
298298
}
299299

300-
} // end geosx namespace
300+
} // end geos namespace

src/coreComponents/linearAlgebra/interfaces/hypre/HypreSolver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,6 @@ class HypreSolver final : public LinearSolverBase< HypreInterface >
9999
real64 m_computeAuuTime;
100100
};
101101

102-
} // end geosx namespace
102+
} // end geos namespace
103103

104104
#endif /* HYPRESOLVER_HPP_ */

0 commit comments

Comments
 (0)