Skip to content

Commit

Permalink
Merge branch 'develop' into feature/AddTaperForWaveSolvers
Browse files Browse the repository at this point in the history
  • Loading branch information
acitrain authored Dec 13, 2024
2 parents 8bc4980 + da4cd7f commit 06c5e96
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ jobs:
DOCKER_CERTS_DIR: "/etc/pki/ca-trust/source/anchors"
DOCKER_CERTS_UPDATE_COMMAND: "update-ca-trust"

- name: Pangea 3 (AlmaLinux 8.8, gcc 9.4.0, open-mpi 4.1.2, cuda 11.5.0, openblas 0.3.10)
- name: Pangea 3 CUDA (AlmaLinux 8.8, gcc 9.4.0, open-mpi 4.1.2, cuda 11.5.0, openblas 0.3.10)
BUILD_AND_TEST_CLI_ARGS: "--build-exe-only --no-install-schema"
CMAKE_BUILD_TYPE: Release
BUILD_GENERATOR: "--makefile"
Expand Down
7 changes: 4 additions & 3 deletions src/coreComponents/mesh/FieldIdentifiers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ class FieldIdentifiers
* @brief Get the Location object
*
* @param key key used to store the list of fields in the map.
* @param location mesh location where fields defined by the key provided were registered.
* @return mesh location where fields defined by the key provided were registered.
*/
void getLocation( string const & key,
FieldLocation & location ) const
FieldLocation getLocation( string const & key ) const
{
FieldLocation location{};
if( key.find( m_locationKeys.nodesKey() ) != string::npos )
{
location = FieldLocation::Node;
Expand All @@ -123,6 +123,7 @@ class FieldIdentifiers
{
GEOS_ERROR( GEOS_FMT( "Invalid key, {}, was provided. Location cannot be retrieved.", key ) );
}
return location;
}

private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -511,8 +511,7 @@ int NeighborCommunicator::packCommSizeForSync( FieldIdentifiers const & fieldsTo

for( auto const & iter : fieldsToBeSync.getFields() )
{
FieldLocation location{};
fieldsToBeSync.getLocation( iter.first, location );
FieldLocation const location = fieldsToBeSync.getLocation( iter.first );
switch( location )
{
case FieldLocation::Node:
Expand Down Expand Up @@ -569,8 +568,7 @@ void NeighborCommunicator::packCommBufferForSync( FieldIdentifiers const & field

for( auto const & iter : fieldsToBeSync.getFields() )
{
FieldLocation location{};
fieldsToBeSync.getLocation( iter.first, location );
FieldLocation const location = fieldsToBeSync.getLocation( iter.first );
switch( location )
{
case FieldLocation::Node:
Expand Down Expand Up @@ -628,8 +626,7 @@ void NeighborCommunicator::unpackBufferForSync( FieldIdentifiers const & fieldsT

for( auto const & iter : fieldsToBeSync.getFields() )
{
FieldLocation location{};
fieldsToBeSync.getLocation( iter.first, location );
FieldLocation const location = fieldsToBeSync.getLocation( iter.first );
switch( location )
{
case FieldLocation::Node:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ After building GEOS, the integrated tests can be triggered in the GEOS build dir


.. note::
The `make_ats_environment` and `ats_run` steps may require internet access to collect python packages and baseline files.
The `make ats_environment` and `make ats_run` steps may require internet access to collect python packages and baseline files.


.. note::
Expand Down

0 comments on commit 06c5e96

Please sign in to comment.