Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MoReFEM
CoreLibrary
MoReFEM
Commits
99c8dc0b
Commit
99c8dc0b
authored
Dec 29, 2016
by
GILLES Sebastien
Browse files
#1066 Script applied on all C++ source files.
parent
6562a25e
Changes
1000
Hide whitespace changes
Inline
Side-by-side
Too many changes to show.
To preserve performance only
20 of 1000+
files are displayed.
Plain diff
Email patch
Scripts/FileHeader.py
View file @
99c8dc0b
...
...
@@ -24,7 +24,7 @@ class FileHeader():
"""Apply the file header correction on each C++ file within self._directory."""
main_directory_folders
=
os
.
listdir
(
self
.
_directory
)
main_directory_folders
=
[
item
for
item
in
main_directory_folders
if
os
.
path
.
isdir
(
os
.
path
.
join
(
self
.
_directory
,
item
))]
main_directory_folders
=
(
"
ThirdParty
"
,
)
#
main_directory_folders = ("
Core
", )
# Do the same for folders to ignore.
modified_folder_ignore_list
=
[]
...
...
@@ -62,7 +62,12 @@ class FileHeader():
for
myfile
in
files
:
file_complete_path
=
os
.
path
.
join
(
root
,
myfile
)
self
.
ApplyFileHeader
(
file_complete_path
,
group
)
# If the file begins by main, skip the group.
if
myfile
.
startswith
(
"main"
):
self
.
ApplyFileHeader
(
file_complete_path
,
None
)
else
:
self
.
ApplyFileHeader
(
file_complete_path
,
group
)
def
ApplyFileHeader
(
self
,
file_complete_path
,
group_name
):
...
...
Sources/Core/Crtp/NumberingSubsetForMatrix.hpp
View file @
99c8dc0b
//! \file
//
//
// NumberingSubsetForMatrix.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 04/05/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 4 May 2015 11:34:55 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HPP_
# define HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HPP_
...
...
@@ -104,6 +105,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/Crtp/NumberingSubsetForMatrix.hxx"
...
...
Sources/Core/Crtp/NumberingSubsetForMatrix.hxx
View file @
99c8dc0b
//! \file
//
//
// NumberingSubsetForMatrix.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 04/05/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 4 May 2015 11:34:55 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
# define HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
...
...
@@ -56,4 +57,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_CRTP_x_NUMBERING_SUBSET_FOR_MATRIX_HXX_
Sources/Core/HappyHeart.doxygen
View file @
99c8dc0b
...
...
@@ -32,9 +32,3 @@
* Program-wise one is generated in any case.
*/
/*!
* \class doxygen_hide_cplusplus_variadic_args
*
* \param[in] args Variadic arguments (see the forecoming section about it in C++ HappyHeart documentation).
*/
\ No newline at end of file
Sources/Core/HappyHeart.hpp
View file @
99c8dc0b
//! \file
//
//
// HappyHeart.h
// HappyHeart
//
// Created by Sebastien Gilles on 1/22/13.
//
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 22 Jan 2013 11:55:30 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
# define HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
...
...
@@ -47,4 +48,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_HAPPY_HEART_HPP_
Sources/Core/InitHappyHeart.hpp
View file @
99c8dc0b
//! \file
//
//
// InitHappyHeart.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 21/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 21 Jan 2015 15:50:06 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HPP_
# define HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HPP_
...
...
@@ -102,6 +103,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InitHappyHeart.hxx"
...
...
Sources/Core/InitHappyHeart.hxx
View file @
99c8dc0b
//! \file
//
//
// InitHappyHeart.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 21/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 21 Jan 2015 15:50:06 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
# define HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
...
...
@@ -185,4 +186,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INIT_HAPPY_HEART_HXX_
Sources/Core/InitTimeKeepLog.hpp
View file @
99c8dc0b
//! \file
//
//
// InitTimeKeepLog.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 07/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 7 Jan 2015 14:19:22 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HPP_
# define HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HPP_
...
...
@@ -48,6 +49,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InitTimeKeepLog.hxx"
...
...
Sources/Core/InitTimeKeepLog.hxx
View file @
99c8dc0b
//! \file
//
//
// InitTimeKeepLog.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 07/01/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Wed, 7 Jan 2015 14:19:22 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
# define HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
...
...
@@ -44,4 +45,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INIT_TIME_KEEP_LOG_HXX_
Sources/Core/InputParameter/Crtp/Section.cpp
View file @
99c8dc0b
//! \file
//
//
// Section.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include
"Core/InputParameter/Crtp/Section.hpp"
...
...
@@ -38,3 +39,6 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
Sources/Core/InputParameter/Crtp/Section.hpp
View file @
99c8dc0b
//! \file
//
//
// Section.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HPP_
...
...
@@ -84,6 +85,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/Crtp/Section.hxx"
...
...
Sources/Core/InputParameter/Crtp/Section.hxx
View file @
99c8dc0b
//! \file
//
//
// Section.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 17/08/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Mon, 17 Aug 2015 14:08:45 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
...
...
@@ -35,4 +36,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_CRTP_x_SECTION_HXX_
Sources/Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hpp
View file @
99c8dc0b
//! \file
//
//
// DirichletBoundaryCondition.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
...
...
@@ -143,6 +144,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hxx"
...
...
Sources/Core/InputParameter/DirichletBoundaryCondition/DirichletBoundaryCondition.hxx
View file @
99c8dc0b
//! \file
//
//
// DirichletBoundaryCondition.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 24 Sep 2015 11:23:48 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
...
...
@@ -41,4 +42,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_DIRICHLET_BOUNDARY_CONDITION_HXX_
Sources/Core/InputParameter/DirichletBoundaryCondition/Impl/DirichletBoundaryCondition.cpp
View file @
99c8dc0b
//! \file
//
//
// DirichletBoundaryCondition.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 24 Sep 2015 11:23:48 +0200
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include
"Utilities/String/EmptyString.hpp"
...
...
@@ -226,3 +227,6 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
Sources/Core/InputParameter/DirichletBoundaryCondition/Impl/DirichletBoundaryCondition.hpp
View file @
99c8dc0b
//! \file
//
//
// DirichletBoundaryCondition.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/09/15.
// Copyright © 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Mar 2015 14:48:37 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
...
...
@@ -348,4 +349,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_DIRICHLET_BOUNDARY_CONDITION_x_IMPL_x_DIRICHLET_BOUNDARY_CONDITION_HPP_
Sources/Core/InputParameter/FElt/FEltSpace.hpp
View file @
99c8dc0b
//! \file
//
//
// FEltSpace.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HPP_
...
...
@@ -135,6 +136,9 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
# include "Core/InputParameter/FElt/FEltSpace.hxx"
...
...
Sources/Core/InputParameter/FElt/FEltSpace.hxx
View file @
99c8dc0b
//! \file
//
//
// FEltSpace.hxx
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Feb 2015 14:38:32 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
...
...
@@ -41,4 +42,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_F_ELT_SPACE_HXX_
Sources/Core/InputParameter/FElt/Impl/FEltSpace.cpp
View file @
99c8dc0b
//! \file
//
//
// FEltSpace.cpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Tue, 24 Mar 2015 11:47:43 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#include
"Utilities/String/EmptyString.hpp"
...
...
@@ -178,3 +179,6 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
Sources/Core/InputParameter/FElt/Impl/FEltSpace.hpp
View file @
99c8dc0b
//! \file
//
//
// FEltSpace.hpp
// HappyHeart
//
// Created by Sebastien Gilles on 24/03/15.
// Copyright (c) 2015 Inria. All rights reserved.
//
///
////// \file
///
///
/// Created by Sebastien Gilles <sebastien.gilles@inria.fr> on the Thu, 19 Mar 2015 14:48:37 +0100
/// Copyright (c) Inria. All rights reserved.
///
/// \ingroup CoreGroup
/// \addtogroup CoreGroup
/// \{
#ifndef HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_IMPL_x_F_ELT_SPACE_HPP_
# define HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_IMPL_x_F_ELT_SPACE_HPP_
...
...
@@ -253,4 +254,7 @@ namespace HappyHeart
}
// namespace HappyHeart
/// @} // addtogroup CoreGroup
#endif // HAPPY_HEART_x_CORE_x_INPUT_PARAMETER_x_F_ELT_x_IMPL_x_F_ELT_SPACE_HPP_
Prev
1
2
3
4
5
…
50
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment