diff --git a/kratos/includes/table.h b/kratos/includes/table.h index c6c0ac7cc89..6138312fb60 100644 --- a/kratos/includes/table.h +++ b/kratos/includes/table.h @@ -5,14 +5,13 @@ // Multi-Physics // // License: BSD License -// Kratos default license: kratos/license.txt +// Kratos default license: kratos/license.txt // // Main authors: Pooyan Dadvand // Riccardo Rossi // -#if !defined(KRATOS_TABLE_H_INCLUDED ) -#define KRATOS_TABLE_H_INCLUDED +#pragma once // System includes #include @@ -864,8 +863,4 @@ inline std::ostream& operator << (std::ostream& rOStream, ///@} addtogroup block -} // namespace Kratos. - -#endif // KRATOS_TABLE_H_INCLUDED defined - - +} // namespace Kratos. \ No newline at end of file diff --git a/kratos/includes/table_stream.h b/kratos/includes/table_stream.h index 07654f99f62..d9825ce5504 100755 --- a/kratos/includes/table_stream.h +++ b/kratos/includes/table_stream.h @@ -4,16 +4,15 @@ // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // -// License: BSD License -// Kratos default license: kratos/license.txt +// License: BSD License +// Kratos default license: kratos/license.txt // // Main authors: Vicente Mataix Ferrandiz // Inspired in bprinter, work of Dat Chu: https://github.com/dattanchu/bprinter // Removing all the dependencies of boost::karma and adding bold fonts and additional functionalities needed // -#ifndef KRATOS_TABLE_STREAM_H_INCLUDED -#define KRATOS_TABLE_STREAM_H_INCLUDED +#pragma once // System includes #include @@ -470,4 +469,3 @@ class TableStream }; // Class TableStream } // namespace Kratos. -#endif diff --git a/kratos/includes/thread_fixed_size_memory_pool.h b/kratos/includes/thread_fixed_size_memory_pool.h index 16c164c1154..5f1cdcdf0ad 100644 --- a/kratos/includes/thread_fixed_size_memory_pool.h +++ b/kratos/includes/thread_fixed_size_memory_pool.h @@ -4,24 +4,25 @@ // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // -// License: BSD License -// Kratos default license: kratos/license.txt +// License: BSD License +// Kratos default license: kratos/license.txt // // Main authors: Pooyan Dadvand // // +#pragma once -#if !defined(KRATOS_THREAD_FIXED_SIZE_MEMORY_POOL_H_INCLUDED ) -#define KRATOS_THREAD_FIXED_SIZE_MEMORY_POOL_H_INCLUDED - +// System includes #include #include #include #include +// External includes #include "concurrentqueue/concurrentqueue.h" +// Project includes #include "includes/chunk.h" namespace Kratos @@ -339,5 +340,3 @@ namespace Kratos ///@} addtogroup block } // namespace Kratos. - -#endif // KRATOS_THREAD_FIXED_SIZE_MEMORY_POOL_H_INCLUDED defined diff --git a/kratos/includes/ublas_complex_interface.h b/kratos/includes/ublas_complex_interface.h index f2192595bad..53f2ea6539a 100644 --- a/kratos/includes/ublas_complex_interface.h +++ b/kratos/includes/ublas_complex_interface.h @@ -4,14 +4,13 @@ // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // -// License: BSD License -// Kratos default license: kratos/license.txt +// License: BSD License +// Kratos default license: kratos/license.txt // // Main authors: Michael Andre // -#if !defined(KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED ) -#define KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED +#pragma once // System includes #include @@ -76,5 +75,3 @@ typedef matrix_slice ComplexMatrixSlice; ///@} } // namespace Kratos. - -#endif // KRATOS_UBLAS_COMPLEX_INTERFACE_H_INCLUDED defined diff --git a/kratos/includes/ublas_interface.h b/kratos/includes/ublas_interface.h index ab1e08fe8e9..043f08c31ab 100644 --- a/kratos/includes/ublas_interface.h +++ b/kratos/includes/ublas_interface.h @@ -4,22 +4,18 @@ // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // -// License: BSD License -// Kratos default license: kratos/license.txt +// License: BSD License +// Kratos default license: kratos/license.txt // // Main authors: Pooyan Dadvand // - -#if !defined(KRATOS_UBLAS_INTERFACE_H_INCLUDED ) -#define KRATOS_UBLAS_INTERFACE_H_INCLUDED - +#pragma once // System includes #include #include - // External includes #include #include @@ -41,7 +37,6 @@ // Project includes #include "includes/define.h" - namespace Kratos { @@ -115,9 +110,5 @@ namespace Kratos ///@name Input and output ///@{ -} // namespace Kratos. - -#endif // KRATOS_UBLAS_INTERFACE_H_INCLUDED defined - - - +///@} +} // namespace Kratos. \ No newline at end of file diff --git a/kratos/includes/variables.h b/kratos/includes/variables.h index d601268fafd..324edf87854 100644 --- a/kratos/includes/variables.h +++ b/kratos/includes/variables.h @@ -10,8 +10,7 @@ // Main authors: Pooyan Dadvand // -#if !defined(KRATOS_VARIABLES_H_INCLUDED ) -#define KRATOS_VARIABLES_H_INCLUDED +#pragma once // System includes #include @@ -489,5 +488,3 @@ namespace Kratos #undef KRATOS_EXPORT_MACRO #define KRATOS_EXPORT_MACRO KRATOS_NO_EXPORT - -#endif // KRATOS_VARIABLES_H_INCLUDED defined