Skip to content

Commit

Permalink
Add OPM_ prefix to header include guards
Browse files Browse the repository at this point in the history
  • Loading branch information
hakonhagland committed Oct 24, 2024
1 parent 16dbcc6 commit 34ea12e
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/CouplingFile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_FILE_HPP
#define RESERVOIR_COUPLING_FILE_HPP
#ifndef OPM_RESERVOIR_COUPLING_FILE_HPP
#define OPM_RESERVOIR_COUPLING_FILE_HPP
namespace Opm {

class HandlerContext;

extern void handleDUMPCUPL(HandlerContext& handlerContext);

} // namespace Opm
#endif // RESERVOIR_COUPLING_FILE_HPP
#endif // OPM_RESERVOIR_COUPLING_FILE_HPP
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/GrupSlav.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_GRUPSLAV_HPP
#define RESERVOIR_COUPLING_GRUPSLAV_HPP
#ifndef OPM_RESERVOIR_COUPLING_GRUPSLAV_HPP
#define OPM_RESERVOIR_COUPLING_GRUPSLAV_HPP

#include <iostream>
#include <map>
Expand Down Expand Up @@ -155,4 +155,4 @@ extern void handleGRUPSLAV(HandlerContext& handlerContext);

} // namespace Opm

#endif // RESERVOIR_COUPLING_GRUPSLAV_HPP
#endif // OPM_RESERVOIR_COUPLING_GRUPSLAV_HPP
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/MasterGroup.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_MASTER_GROUP_HPP
#define RESERVOIR_COUPLING_MASTER_GROUP_HPP
#ifndef OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP
#define OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP

#include <map>
#include <stdexcept>
Expand Down Expand Up @@ -95,4 +95,4 @@ extern void handleGRUPMAST(HandlerContext& handlerContext);

} // namespace Opm

#endif // RESERVOIR_COUPLING_MASTER_GROUP_HPP
#endif // OPM_RESERVOIR_COUPLING_MASTER_GROUP_HPP
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/MasterMinimumTimeStep.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
#define RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
#ifndef OPM_RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
#define OPM_RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
namespace Opm {

class HandlerContext;

extern void handleRCMASTS(HandlerContext& handlerContext);

} // namespace Opm
#endif // RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
#endif // OPM_RESERVOIR_COUPLING_MASTER_MINIMUM_TIMESTEP_HPP
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/ReservoirCouplingInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_INFO_HPP
#define RESERVOIR_COUPLING_INFO_HPP
#ifndef OPM_RESERVOIR_COUPLING_INFO_HPP
#define OPM_RESERVOIR_COUPLING_INFO_HPP

#include <opm/input/eclipse/Schedule/ResCoup/Slaves.hpp>
#include <opm/input/eclipse/Schedule/ResCoup/GrupSlav.hpp>
Expand Down Expand Up @@ -150,4 +150,4 @@ class CouplingInfo {

} // namespace Opm::ReservoirCoupling

#endif
#endif // OPM_RESERVOIR_COUPLING_INFO_HPP
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_KEYWORD_HANDLERS_HPP
#define RESERVOIR_COUPLING_KEYWORD_HANDLERS_HPP
#ifndef OPM_RESERVOIR_COUPLING_KEYWORD_HANDLERS_HPP
#define OPM_RESERVOIR_COUPLING_KEYWORD_HANDLERS_HPP

#include "../KeywordHandlers.hpp"

Expand All @@ -32,4 +32,4 @@ std::vector<std::pair<std::string,KeywordHandlers::handler_function>> getReservo

}

#endif
#endif // OPM_RESERVOIR_COUPLING_KEYWORD_HANDLERS_HPP
6 changes: 3 additions & 3 deletions opm/input/eclipse/Schedule/ResCoup/Slaves.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RESERVOIR_COUPLING_SLAVES_HPP
#define RESERVOIR_COUPLING_SLAVES_HPP
#ifndef OPM_RESERVOIR_COUPLING_SLAVES_HPP
#define OPM_RESERVOIR_COUPLING_SLAVES_HPP

#include <string>
#include <map>
Expand Down Expand Up @@ -91,4 +91,4 @@ class Slave {
extern void handleSLAVES(HandlerContext& handlerContext);

} // namespace Opm
#endif // RESERVOIR_COUPLING_SLAVES_HPP
#endif // OPM_RESERVOIR_COUPLING_SLAVES_HPP

0 comments on commit 34ea12e

Please sign in to comment.