diff --git a/lib/AlphaNum.h b/lib/AlphaNum.h index 527b67aed..f5f3294f1 100644 --- a/lib/AlphaNum.h +++ b/lib/AlphaNum.h @@ -5,7 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef ALPHA_NUM_H +#define ALPHA_NUM_H + #include "BasicTypes.h" // uint #include #include @@ -40,4 +42,6 @@ class AlphaNum { uint string2Uint(std::string stringSuffix); struct icompare_char; struct compare; -}; \ No newline at end of file +}; + +#endif /*ALPHA_NUM_H*/ diff --git a/lib/FloydWarshallCycle.h b/lib/FloydWarshallCycle.h index 59b22632d..a00b31543 100644 --- a/lib/FloydWarshallCycle.h +++ b/lib/FloydWarshallCycle.h @@ -5,7 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef FLOYD_WARSHALL_CYCLE_H +#define FLOYD_WARSHALL_CYCLE_H + #include #include #include @@ -86,3 +88,5 @@ class FloydWarshallCycle { std::vector returnCombinedSet(const std::vector &first, const std::vector &second); }; + +#endif /*FLOYD_WARSHALL_CYCLE_H*/ diff --git a/src/BondAdjacencyList.h b/src/BondAdjacencyList.h index 3590555a2..5297022fc 100644 --- a/src/BondAdjacencyList.h +++ b/src/BondAdjacencyList.h @@ -8,8 +8,8 @@ along with this program, also can be found at /* Courtesy of https://www.softwaretestinghelp.com/graph-implementation-cpp/ */ -#ifndef BONDADJACENCYLIST_H -#define BONDADJACENCYLIST_H +#ifndef BOND_ADJACENCY_LIST_H +#define BOND_ADJACENCY_LIST_H #include @@ -48,4 +48,4 @@ class BondAdjacencyList { graphEdge *edges; }; -#endif \ No newline at end of file +#endif /*BOND_ADJACENCY_LIST_H*/ \ No newline at end of file diff --git a/src/CBMC.h b/src/CBMC.h index 72590e36f..a3cf4d4ad 100644 --- a/src/CBMC.h +++ b/src/CBMC.h @@ -66,4 +66,4 @@ CBMC *MakeCBMC(System &sys, const Forcefield &ff, const MoleculeKind &kind, const Setup &set); } // namespace cbmc -#endif +#endif /*CBMC_H*/ diff --git a/src/CalculateEnergy.h b/src/CalculateEnergy.h index 42ca18fb8..f96106c78 100644 --- a/src/CalculateEnergy.h +++ b/src/CalculateEnergy.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef CALCULATEENERGY_H -#define CALCULATEENERGY_H +#ifndef CALCULATE_ENERGY_H +#define CALCULATE_ENERGY_H #include @@ -294,4 +294,4 @@ class CalculateEnergy { const CellList &cellList; }; -#endif /*ENERGY_H*/ +#endif /*CALCULATE_ENERGY_H*/ diff --git a/src/CellList.h b/src/CellList.h index 982efd424..ec50951e5 100644 --- a/src/CellList.h +++ b/src/CellList.h @@ -254,4 +254,4 @@ inline void CellList::Pairs::Next() { // skip over doubles } while (First() >= Second()); } -#endif +#endif /*CELLLIST_H*/ diff --git a/src/Checkpoint.h b/src/Checkpoint.h index d638faab1..38b205f0d 100644 --- a/src/Checkpoint.h +++ b/src/Checkpoint.h @@ -169,4 +169,4 @@ class Checkpoint { } }; -#endif \ No newline at end of file +#endif /*CHECKPOINT_H*/ \ No newline at end of file diff --git a/src/CheckpointOutput.h b/src/CheckpointOutput.h index 5581a5ae9..bcc889239 100644 --- a/src/CheckpointOutput.h +++ b/src/CheckpointOutput.h @@ -65,4 +65,4 @@ class CheckpointOutput : public OutputableBase { ulong stepsPerCheckpoint; }; -#endif +#endif /*CHECKPOINT_OUTPUT_H*/ diff --git a/src/CheckpointSetup.h b/src/CheckpointSetup.h index 6f8cb3e6a..ffa6f12ac 100644 --- a/src/CheckpointSetup.h +++ b/src/CheckpointSetup.h @@ -97,4 +97,4 @@ class CheckpointSetup { friend class CheckpointOutput; }; -#endif +#endif /*CHECKPOINT_SETUP_H*/ diff --git a/src/ConfigSetup.h b/src/ConfigSetup.h index c91b1ab56..3558d69e2 100644 --- a/src/ConfigSetup.h +++ b/src/ConfigSetup.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef CONFIGSETUP_H -#define CONFIGSETUP_H +#ifndef CONFIG_SETUP_H +#define CONFIG_SETUP_H #include //for cerr, cout; #include //for function handle storage. @@ -918,4 +918,4 @@ class ConfigSetup { InputFileReader reader; }; -#endif +#endif /*CONFIG_SETUP_H*/ diff --git a/src/CoordinateSetup.h b/src/CoordinateSetup.h index 87addef50..019042abb 100644 --- a/src/CoordinateSetup.h +++ b/src/CoordinateSetup.h @@ -21,4 +21,4 @@ struct CoordinateSetup { void SetCOM(const MolSetupData &molData); } -#endif +#endif /*COORDINATESETUP_H*/ diff --git a/src/DCDlib.h b/src/DCDlib.h index ba9219dcb..492f30161 100644 --- a/src/DCDlib.h +++ b/src/DCDlib.h @@ -112,4 +112,4 @@ void NAMD_bug(const char *err_msg); int NAMD_file_exists(const char *filename); void NAMD_backup_file(const char *filename, const char *extension); -#endif /* ! DCDLIB_H */ +#endif /*DCDLIB_H*/ diff --git a/src/EnergyTypes.h b/src/EnergyTypes.h index 9c9ef7742..3ec3b0682 100644 --- a/src/EnergyTypes.h +++ b/src/EnergyTypes.h @@ -539,4 +539,4 @@ inline std::ostream &operator<<(std::ostream &out, Energy &en) { } #endif -#endif +#endif /*ENERGYTYPES_H*/ diff --git a/src/EwaldCached.h b/src/EwaldCached.h index f62b758c7..33498ba19 100644 --- a/src/EwaldCached.h +++ b/src/EwaldCached.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef EWALDCACHED_H -#define EWALDCACHED_H +#ifndef EWALD_CACHED_H +#define EWALD_CACHED_H #include "Ewald.h" @@ -81,4 +81,4 @@ class EwaldCached : public Ewald { #endif }; -#endif /*EWALDCACHED_H*/ +#endif /*EWALD_CACHED_H*/ diff --git a/src/ExtendedSystem.h b/src/ExtendedSystem.h index c896bb331..d7ca001df 100644 --- a/src/ExtendedSystem.h +++ b/src/ExtendedSystem.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef EXTENDED_SYSTEM -#define EXTENDED_SYSTEM +#ifndef EXTENDED_SYSTEM_H +#define EXTENDED_SYSTEM_H #include @@ -83,4 +83,4 @@ class ExtendedSystem { std::vector binaryVeloc; }; -#endif /*EXTENDED_SYSTEM*/ +#endif /*EXTENDED_SYSTEM_H*/ diff --git a/src/ExtendedSystemOutput.h b/src/ExtendedSystemOutput.h index 3d3788efd..3f5d0886c 100644 --- a/src/ExtendedSystemOutput.h +++ b/src/ExtendedSystemOutput.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef DCD_OUTPUT_H -#define DCD_OUTPUT_H +#ifndef EXTENDED_SYSTEM_OUTPUT_H +#define EXTENDED_SYSTEM_OUTPUT_H #include #include @@ -124,4 +124,4 @@ struct ExtendedSystemOutput : OutputableBase { Writer xscFile[BOX_TOTAL]; }; -#endif /*DCD_OUTPUT_H*/ +#endif /*EXTENDED_SYSTEM_OUTPUT_H*/ diff --git a/src/FreeEnergyOutput.h b/src/FreeEnergyOutput.h index aead3ff28..9f25b5d4b 100644 --- a/src/FreeEnergyOutput.h +++ b/src/FreeEnergyOutput.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef FREEENERGY_OUTPUT_H -#define FREEENERGY_OUTPUT_H +#ifndef FREE_ENERGY_OUTPUT_H +#define FREE_ENERGY_OUTPUT_H #include #include @@ -59,4 +59,4 @@ struct FreeEnergyOutput : OutputableBase { #endif }; -#endif /*HIST_OUTPUT_H*/ +#endif /*FREE_ENERGY_OUTPUT_H*/ diff --git a/src/FxdWidthWrtr.h b/src/FxdWidthWrtr.h index e2087677a..30a9e457e 100644 --- a/src/FxdWidthWrtr.h +++ b/src/FxdWidthWrtr.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef FXD_WIDTH_WRTR -#define FXD_WIDTH_WRTR +#ifndef FXD_WIDTH_WRTR_H +#define FXD_WIDTH_WRTR_H struct FxdWidthWrtr : Writer { FxdWidthWrtr(std::string const &nm, std::string const &als, const bool crit, @@ -23,4 +23,4 @@ struct FxdWidthWrtr : Writer { // Align left by default, but accept right alignment if necessary. } -#endif /*FXD_WIDTH_WRTR*/ +#endif /*FXD_WIDTH_WRTR_H*/ diff --git a/src/GOMCEventsProfileDef.h b/src/GOMCEventsProfileDef.h index b228191a0..a4a0437e6 100644 --- a/src/GOMCEventsProfileDef.h +++ b/src/GOMCEventsProfileDef.h @@ -5,6 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ +#ifndef GOMC_EVENTS_PROFILE_DEF_H +#define GOMC_EVENTS_PROFILE_DEF_H + GOMC_PROFILE_EVENT(INITIALIZE, "initialization") GOMC_PROFILE_EVENT(MC_RUN, "MC_run") GOMC_PROFILE_EVENT(DESTRUCTION, "destruction") @@ -152,3 +155,5 @@ GOMC_PROFILE_EVENT(DUMMY_EVENT19, "Dummy Event19") GOMC_PROFILE_EVENT(DUMMY_EVENT20, "Dummy Event20") GOMC_PROFILE_EVENT(DUMMY_EVENT21, "Dummy Event21") GOMC_PROFILE_EVENT(DUMMY_EVENT22, "Dummy Event22") + +#endif /*GOMC_EVENTS_PROFILE_DEF_H*/ \ No newline at end of file diff --git a/src/GPU/CUDAMemoryManager.cuh b/src/GPU/CUDAMemoryManager.cuh index 0b5b52dcf..6f85af098 100644 --- a/src/GPU/CUDAMemoryManager.cuh +++ b/src/GPU/CUDAMemoryManager.cuh @@ -4,7 +4,9 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef CUDA_MEMORY_MANAGER_H +#define CUDA_MEMORY_MANAGER_H + #ifdef GOMC_CUDA #include #include @@ -27,3 +29,4 @@ private: }; #endif +#endif /*CUDA_MEMORY_MANAGER_H*/ diff --git a/src/GPU/CalculateEnergyCUDAKernel.cuh b/src/GPU/CalculateEnergyCUDAKernel.cuh index 9f1366400..4f38e8141 100644 --- a/src/GPU/CalculateEnergyCUDAKernel.cuh +++ b/src/GPU/CalculateEnergyCUDAKernel.cuh @@ -4,7 +4,9 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef CALCULATE_ENERGY_CUDA_KERNEL_H +#define CALCULATE_ENERGY_CUDA_KERNEL_H + #ifdef GOMC_CUDA #include #include @@ -206,3 +208,4 @@ __device__ double CalcEnSwitchGPUNoLambda(double distSq, int index, double gpu_rCut, double gpu_rOn); #endif /*GOMC_CUDA*/ +#endif /*CALCULATE_ENERGY_CUDA_KERNEL_H*/ diff --git a/src/GPU/CalculateEwaldCUDAKernel.cuh b/src/GPU/CalculateEwaldCUDAKernel.cuh index 16a3fc532..e9ad84326 100644 --- a/src/GPU/CalculateEwaldCUDAKernel.cuh +++ b/src/GPU/CalculateEwaldCUDAKernel.cuh @@ -4,8 +4,8 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef CALCULATE_EWALD_CUDA_KERNEL -#define CALCULATE_EWALD_CUDA_KERNEL +#ifndef CALCULATE_EWALD_CUDA_KERNEL_H +#define CALCULATE_EWALD_CUDA_KERNEL_H #ifdef GOMC_CUDA #include @@ -190,4 +190,4 @@ __global__ void BoxReciprocalGPU(double *gpu_prefact, int imageSize); #endif /*GOMC_CUDA*/ -#endif /*CALCULATE_EWALD_CUDA_KERNEL*/ +#endif /*CALCULATE_EWALD_CUDA_KERNEL_H*/ diff --git a/src/GPU/CalculateForceCUDAKernel.cuh b/src/GPU/CalculateForceCUDAKernel.cuh index 29d7953db..4c8773307 100644 --- a/src/GPU/CalculateForceCUDAKernel.cuh +++ b/src/GPU/CalculateForceCUDAKernel.cuh @@ -4,8 +4,8 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef CALCULATE_FORCE_CUDA_KERNEL -#define CALCULATE_FORCE_CUDA_KERNEL +#ifndef CALCULATE_FORCE_CUDA_KERNEL_H +#define CALCULATE_FORCE_CUDA_KERNEL_H #ifdef GOMC_CUDA #include @@ -403,4 +403,4 @@ __device__ inline double CalcCoulombForceGPU(double distSq, double qi_qj, #endif /*GOMC_CUDA*/ -#endif /*CALCULATE_FORCE_CUDA_KERNEL*/ +#endif /*CALCULATE_FORCE_CUDA_KERNEL_H*/ diff --git a/src/GPU/CalculateMinImageCUDAKernel.cuh b/src/GPU/CalculateMinImageCUDAKernel.cuh index a375e2db6..a3dd5ce74 100644 --- a/src/GPU/CalculateMinImageCUDAKernel.cuh +++ b/src/GPU/CalculateMinImageCUDAKernel.cuh @@ -5,7 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef CALCULATE_MIN_IMAGE_CUDA_KERNEL_H +#define CALCULATE_MIN_IMAGE_CUDA_KERNEL_H + #ifdef GOMC_CUDA #include "ConstantDefinitionsCUDAKernel.cuh" @@ -278,3 +280,4 @@ static __inline__ __device__ double atomicAdd(double *address, double val) { #endif #endif /*GOMC_CUDA*/ +#endif /*CALCULATE_MIN_IMAGE_CUDA_KERNEL_H*/ diff --git a/src/GPU/ConstantDefinitionsCUDAKernel.cuh b/src/GPU/ConstantDefinitionsCUDAKernel.cuh index 68eafb71b..52a2a4693 100644 --- a/src/GPU/ConstantDefinitionsCUDAKernel.cuh +++ b/src/GPU/ConstantDefinitionsCUDAKernel.cuh @@ -4,8 +4,8 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef CONSTANT_DEFINITIONS_CUDA_KERNEL -#define CONSTANT_DEFINITIONS_CUDA_KERNEL +#ifndef CONSTANT_DEFINITIONS_CUDA_KERNEL_H +#define CONSTANT_DEFINITIONS_CUDA_KERNEL_H #ifdef GOMC_CUDA #include @@ -47,4 +47,4 @@ void DestroyExp6CUDAVars(VariablesCUDA *vars); void DestroyCUDAVars(VariablesCUDA *vars); #endif /*GOMC_CUDA*/ -#endif /*CONSTANT_DEFINITIONS_CUDA_KERNEL*/ +#endif /*CONSTANT_DEFINITIONS_CUDA_KERNEL_H*/ diff --git a/src/GPU/TransformParticlesCUDAKernel.cuh b/src/GPU/TransformParticlesCUDAKernel.cuh index 01064af64..3ef9e34c6 100644 --- a/src/GPU/TransformParticlesCUDAKernel.cuh +++ b/src/GPU/TransformParticlesCUDAKernel.cuh @@ -5,7 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef TRANSFORM_PARTICLES_CUDA_KERNEL_H +#define TRANSFORM_PARTICLES_CUDA_KERNEL_H + #ifdef GOMC_CUDA #include "Random123/philox.h" #include @@ -95,3 +97,4 @@ __global__ void BrownianMotionTranslateKernel( unsigned int key, ulong seed, double BETA); #endif +#endif /*TRANSFORM_PARTICLES_CUDA_KERNEL_H*/ diff --git a/src/GPU/VariablesCUDA.cuh b/src/GPU/VariablesCUDA.cuh index 687b6e2c6..8e95ca554 100644 --- a/src/GPU/VariablesCUDA.cuh +++ b/src/GPU/VariablesCUDA.cuh @@ -4,9 +4,10 @@ Copyright (C) 2022 GOMC Group A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once -#ifdef GOMC_CUDA +#ifndef VARIABLES_CUDA_H +#define VARIABLES_CUDA_H +#ifdef GOMC_CUDA #include #include #include @@ -135,3 +136,4 @@ public: int *gpu_cellVector, *gpu_mapParticleToCell; }; #endif +#endif /*VARIABLES_CUDA_H*/ diff --git a/src/Geometry.h b/src/Geometry.h index 751155712..a69106da0 100644 --- a/src/Geometry.h +++ b/src/Geometry.h @@ -138,4 +138,4 @@ class SortedNonbond { SubdividedArray subdiv; }; -#endif +#endif /*GEOMETRY_H*/ diff --git a/src/InputFileReader.h b/src/InputFileReader.h index 7f46d9ae7..51c7f1054 100644 --- a/src/InputFileReader.h +++ b/src/InputFileReader.h @@ -5,7 +5,9 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef INPUT_FILE_READER_H +#define INPUT_FILE_READER_H + #include #include #include @@ -23,3 +25,5 @@ class InputFileReader { InputFileReader(void); ~InputFileReader(); }; + +#endif /*INPUT_FILE_READER_H*/ diff --git a/src/MolSetup.h b/src/MolSetup.h index b3ad9f92d..6b0184809 100644 --- a/src/MolSetup.h +++ b/src/MolSetup.h @@ -337,4 +337,4 @@ class MolSetup { ar &molVars; } }; -#endif +#endif /*MOLSETUP_H*/ diff --git a/src/MoleculeKind.h b/src/MoleculeKind.h index 1c92f46f6..31bb8485f 100644 --- a/src/MoleculeKind.h +++ b/src/MoleculeKind.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef FF_MOLECULE_H -#define FF_MOLECULE_H +#ifndef MOLECULE_KIND_H +#define MOLECULE_KIND_H #include #include @@ -174,4 +174,4 @@ class MoleculeKind { double *atomCharge; }; -#endif /*FF_MOLECULE_H*/ +#endif /*MOLECULE_KIND_H*/ diff --git a/src/MoleculeLookup.h b/src/MoleculeLookup.h index 311afd7c6..a0ac3e3f5 100644 --- a/src/MoleculeLookup.h +++ b/src/MoleculeLookup.h @@ -248,4 +248,4 @@ class MoleculeLookup::box_iterator { uint const *pIt; }; -#endif +#endif /*MOLECULELOOKUP_H*/ diff --git a/src/PSFOutput.h b/src/PSFOutput.h index 6158aa634..07ee8a1ea 100644 --- a/src/PSFOutput.h +++ b/src/PSFOutput.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef PSFOUTPUT_H -#define PSFOUTPUT_H +#ifndef PSF_OUTPUT_H +#define PSF_OUTPUT_H #include #include @@ -105,4 +105,4 @@ class PSFOutput : public OutputableBase { std::vector moleculeSegmentNames; }; -#endif +#endif /*PSF_OUTPUT_H*/ diff --git a/src/Random123Wrapper.h b/src/Random123Wrapper.h index 50bcf4651..e80fba456 100644 --- a/src/Random123Wrapper.h +++ b/src/Random123Wrapper.h @@ -5,7 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#pragma once +#ifndef RANDOM123_WRAPPER_H +#define RANDOM123_WRAPPER_H #include "BasicTypes.h" #include "Random123/philox.h" @@ -41,4 +42,6 @@ class Random123Wrapper { RNG::ctr_type c; RNG::key_type uk; RNG rng; -}; \ No newline at end of file +}; + +#endif /*RANDOM123_WRAPPER_H*/ diff --git a/src/Setup.h b/src/Setup.h index db554c004..772480604 100644 --- a/src/Setup.h +++ b/src/Setup.h @@ -57,4 +57,4 @@ class Setup { } }; -#endif +#endif /*SETUP_H*/ diff --git a/src/SubdividedArray.h b/src/SubdividedArray.h index 366766f3b..9e427f2d4 100644 --- a/src/SubdividedArray.h +++ b/src/SubdividedArray.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef SUBDIV_ARRAY -#define SUBDIV_ARRAY +#ifndef SUB_DIVIDED_ARRAY_H +#define SUB_DIVIDED_ARRAY_H #include @@ -64,4 +64,4 @@ class SubdividedArray { uint *start, subdivCount; }; -#endif /*SUBDIV_ARRAY*/ +#endif /*SUB_DIVIDED_ARRAY_H*/ diff --git a/src/TransformMatrix.h b/src/TransformMatrix.h index e6b2a359b..d95dc93b8 100644 --- a/src/TransformMatrix.h +++ b/src/TransformMatrix.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef TRANSFORMMATRIX_H -#define TRANSFORMMATRIX_H +#ifndef TRANSFORM_MATRIX_H +#define TRANSFORM_MATRIX_H #include "BasicTypes.h" #define _USE_MATH_DEFINES @@ -264,4 +264,4 @@ inline TransformMatrix TransformMatrix::UniformRandom(double u1, double u2, result.matrix[2][2] = 1.0 - u3; return result; } -#endif +#endif /*TRANSFORM_MATRIX_H*/ diff --git a/src/Velocity.h b/src/Velocity.h index 085e33785..26d7747b1 100644 --- a/src/Velocity.h +++ b/src/Velocity.h @@ -147,4 +147,4 @@ class Velocity : public XYZArray { double &temperature; // system temperature }; -#endif \ No newline at end of file +#endif /*VELOCITY_H*/ \ No newline at end of file diff --git a/src/cbmc/DCRotateOnAtom.h b/src/cbmc/DCRotateOnAtom.h index 4c65b6c05..b559bce6a 100644 --- a/src/cbmc/DCRotateOnAtom.h +++ b/src/cbmc/DCRotateOnAtom.h @@ -5,8 +5,8 @@ A copy of the MIT License can be found in License.txt along with this program, also can be found at . ********************************************************************************/ -#ifndef DCROTATEONATOM -#define DCROTATEONATOM +#ifndef DCROTATEONATOM_H +#define DCROTATEONATOM_H #include