Maj terminée. Pour consulter la release notes associée voici le lien :
https://about.gitlab.com/releases/2021/07/07/critical-security-release-gitlab-14-0-4-released/

Commit 5cbfd5f4 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1192 Replace every remaining instances of HappyHeart (whatever the case used) in Sources.

parent 375dc492
/*! /*!
* \defgroup CoreGroup Core * \defgroup CoreGroup Core
* *
* \brief This module encompass some generic stuff that may be used at every level of HappyHeart. * \brief This module encompass some generic stuff that may be used at every level of MoReFEM.
* *
* Contrary to Utilities, the content here is really related to the purpose of HappyHeart, whereas Utilities is meant * Contrary to Utilities, the content here is really related to the purpose of MoReFEM, whereas Utilities is meant
* to be a generic library that could be used in any kind of C++ project. * to be a generic library that could be used in any kind of C++ project.
* *
*/ */
......
...@@ -36,7 +36,7 @@ namespace MoReFEM ...@@ -36,7 +36,7 @@ namespace MoReFEM
/*! /*!
* \brief Init HappyHeart: initialize mpi and read the input parameter file. * \brief Init MoReFEM: initialize mpi and read the input parameter file.
* *
* \warning As mpi is not assumed to exist until the constructor has done is job, the exceptions there that might * \warning As mpi is not assumed to exist until the constructor has done is job, the exceptions there that might
* happen only on some of the ranks don't lead to a call to MPI_Abort(), which can lead to a dangling program. * happen only on some of the ranks don't lead to a call to MPI_Abort(), which can lead to a dangling program.
......
...@@ -69,7 +69,7 @@ namespace MoReFEM ...@@ -69,7 +69,7 @@ namespace MoReFEM
{ {
int no_overwrite_allowed = 0; int no_overwrite_allowed = 0;
const char* const default_value("/Volumes/Data/${USER}/HappyHeart/Results"); const char* const default_value("/Volumes/Data/${USER}/Morefem/Results");
int error_code = setenv(result_dir, int error_code = setenv(result_dir,
default_value, default_value,
......
...@@ -40,8 +40,8 @@ namespace MoReFEM ...@@ -40,8 +40,8 @@ namespace MoReFEM
{ {
static std::string ret("Directory in which all the results will be written. This path may use the " static std::string ret("Directory in which all the results will be written. This path may use the "
"environment variable MOREFEM_RESULT_DIR, which is either provided in user's " "environment variable MOREFEM_RESULT_DIR, which is either provided in user's "
"environment or automatically set to '/Volumes/Data/${USER}/HappyHeart/Results' " "environment or automatically set to '/Volumes/Data/${USER}/Morefem/Results' "
"in HappyHeart initialization step."); "in MoReFEM initialization step.");
return ret; return ret;
} }
......
...@@ -181,7 +181,7 @@ namespace MoReFEM ...@@ -181,7 +181,7 @@ namespace MoReFEM
* *
* This method should not be called in most cases. This method was needed for data assimilation purposes, * This method should not be called in most cases. This method was needed for data assimilation purposes,
* the 4DVAR method which is a variational method that needs multiple runs both ways (0 to T and T to 0) * the 4DVAR method which is a variational method that needs multiple runs both ways (0 to T and T to 0)
* to evaluate quantities. Hence a generic HappyHeart user should not call this method in its model. * to evaluate quantities. Hence a generic Morefem user should not call this method in its model.
* *
*/ */
......
...@@ -140,7 +140,7 @@ namespace MoReFEM ...@@ -140,7 +140,7 @@ namespace MoReFEM
#ifndef NDEBUG #ifndef NDEBUG
assert(ret == BruteForceIsProcessorWiseOrGhostDof(god_of_dof, dof_ptr) assert(ret == BruteForceIsProcessorWiseOrGhostDof(god_of_dof, dof_ptr)
&& "If not, it likely means the assumption under which current lambda works is now " && "If not, it likely means the assumption under which current lambda works is now "
"incorrect, probably following a refactoring of HappyHeart that let Dofs not " "incorrect, probably following a refactoring of MoReFEM that let Dofs not "
"relevant for current processor live longer that previously (currently it is assumed " "relevant for current processor live longer that previously (currently it is assumed "
"non relevant Dofs no longer exist except in current class)."); "non relevant Dofs no longer exist except in current class).");
#endif // NDEBUG #endif // NDEBUG
......
...@@ -69,7 +69,7 @@ namespace MoReFEM ...@@ -69,7 +69,7 @@ namespace MoReFEM
/*! /*!
* \brief Finite element class. * \brief Finite element class.
* *
* In HappyHeart, what we call a FElt is the pendant of a \a GeometricElt for a given \a Unknown and * In MoReFEM, what we call a FElt is the pendant of a \a GeometricElt for a given \a Unknown and
* \a NumberingSubset (and implicity a shape function label, as FElt are defined in \a FEltSpace in which * \a NumberingSubset (and implicity a shape function label, as FElt are defined in \a FEltSpace in which
* a given unknown is associated to exactly one shape function label). * a given unknown is associated to exactly one shape function label).
* *
......
...@@ -282,7 +282,7 @@ namespace MoReFEM ...@@ -282,7 +282,7 @@ namespace MoReFEM
std::ofstream output_file; std::ofstream output_file;
if (rank == 0) if (rank == 0)
File::Create(output_file, "/Volumes/Data/sebastien/HappyHeart/Results/Hyperelasticity/FElt/node_per_fe.hhdata"); File::Create(output_file, "/Volumes/Data/sebastien/Morefem/Results/Hyperelasticity/FElt/node_per_fe.hhdata");
#endif // MOREFEM_DEBUG_FILES #endif // MOREFEM_DEBUG_FILES
const auto& felt_space_list = GetFEltSpaceList(); const auto& felt_space_list = GetFEltSpaceList();
......
...@@ -366,7 +366,7 @@ namespace MoReFEM ...@@ -366,7 +366,7 @@ namespace MoReFEM
* \brief Non constant access to the geometric mesh region object. * \brief Non constant access to the geometric mesh region object.
* *
* \attention Access is public solely for the needs of FEltSpace::Movemesh(). You shouldn't call this accessor * \attention Access is public solely for the needs of FEltSpace::Movemesh(). You shouldn't call this accessor
* at all unless you are modifying the core of HappyHeart; during the development of a model you shouldn't * at all unless you are modifying the core of MoReFEM; during the development of a model you shouldn't
* use this one at all and prefer the constant accessor. * use this one at all and prefer the constant accessor.
* *
* \return \a GeometricMeshRegion on top of which the GodOfDof has been built. * \return \a GeometricMeshRegion on top of which the GodOfDof has been built.
......
...@@ -46,7 +46,7 @@ namespace MoReFEM ...@@ -46,7 +46,7 @@ namespace MoReFEM
/*! /*!
* \brief Compute the connectivity between \a NodeBearer. * \brief Compute the connectivity between \a NodeBearer.
* *
* In HappyHeart, parallelism ensures that all nodes and dofs located on a same \a Interface are * In MoReFEM, parallelism ensures that all nodes and dofs located on a same \a Interface are
* managed by the same processor; that's why we need first to define a connectivity between * managed by the same processor; that's why we need first to define a connectivity between
* \a NodeBearer prior to the processor reduction. * \a NodeBearer prior to the processor reduction.
* *
......
...@@ -35,7 +35,7 @@ namespace MoReFEM ...@@ -35,7 +35,7 @@ namespace MoReFEM
// 24(2002) pp. 945-954. // 24(2002) pp. 945-954.
// //
assert(Ngauss_points > 0u && "Added in HappyHeart; case 0 caused crashes..."); assert(Ngauss_points > 0u && "Added in MoReFEM; case 0 caused crashes...");
const double eps = std::numeric_limits<double>::epsilon(); const double eps = std::numeric_limits<double>::epsilon();
......
...@@ -44,7 +44,7 @@ namespace MoReFEM ...@@ -44,7 +44,7 @@ namespace MoReFEM
* file in which user gave his specifications), they can be retrieved with method FetchBasicRefFElt(). * file in which user gave his specifications), they can be retrieved with method FetchBasicRefFElt().
* *
* The elegancy of a factory is that it's easy to add a new kind of reference finite element: if you * The elegancy of a factory is that it's easy to add a new kind of reference finite element: if you
* need one not defined in the core of HappyHeart, you can register it from any cpp file without * need one not defined in the core of MoReFEM, you can register it from any cpp file without
* having to modify in any way the library. If for instance you need anisotropic QuadrangleQ3-Q2, you can * having to modify in any way the library. If for instance you need anisotropic QuadrangleQ3-Q2, you can
* add in your main.cpp: * add in your main.cpp:
* *
......
...@@ -86,7 +86,7 @@ namespace MoReFEM ...@@ -86,7 +86,7 @@ namespace MoReFEM
* *
* \copydoc doxygen_hide_snes_interface_common_arg * \copydoc doxygen_hide_snes_interface_common_arg
* \param[in,out] evaluation_state Most recent value of the quantity the solver tries to compute. * \param[in,out] evaluation_state Most recent value of the quantity the solver tries to compute.
* \param[in,out] residual Petsc vector that include residual. It is not used per se in HappyHeart; there is * \param[in,out] residual Petsc vector that include residual. It is not used per se in MoReFEM; there is
* however a check in debug that VariationalFormulationT::GetSystemRhs() contains the same data as this * however a check in debug that VariationalFormulationT::GetSystemRhs() contains the same data as this
* parameter. * parameter.
* *
......
...@@ -449,7 +449,7 @@ namespace MoReFEM ...@@ -449,7 +449,7 @@ namespace MoReFEM
* *
* \copydetails doxygen_hide_varf_matrix_rowcol_numbering_subset * \copydetails doxygen_hide_varf_matrix_rowcol_numbering_subset
* *
* This is done once and for all during the initialisation phase of HappyHeart; no others should be * This is done once and for all during the initialisation phase of MoReFEM; no others should be
* allocated in the core of the calculation. * allocated in the core of the calculation.
* *
* The data have already been reduced to processor-wise when this operation is performed (or for that * The data have already been reduced to processor-wise when this operation is performed (or for that
...@@ -471,7 +471,7 @@ namespace MoReFEM ...@@ -471,7 +471,7 @@ namespace MoReFEM
* *
* \copydetails doxygen_hide_varf_vector_numbering_subset * \copydetails doxygen_hide_varf_vector_numbering_subset
* *
* This is done once and for all during the initialisation phase of HappyHeart; no others should be * This is done once and for all during the initialisation phase of MoReFEM; no others should be
* allocated in the core of the calculation. * allocated in the core of the calculation.
* *
* The data have already been reduced to processor-wise when this operation is performed (or for that * The data have already been reduced to processor-wise when this operation is performed (or for that
......
...@@ -172,7 +172,7 @@ PRAGMA_DIAGNOSTIC(ignored "-Wmissing-noreturn") ...@@ -172,7 +172,7 @@ PRAGMA_DIAGNOSTIC(ignored "-Wmissing-noreturn")
const auto& coords_list = GetCoordsList(); const auto& coords_list = GetCoordsList();
// Medit assumes indexes between 1 and Ncoord, whereas HappyHeart starts at 0. // Medit assumes indexes between 1 and Ncoord, whereas MoReFEM starts at 0.
std::vector<int> coord_index_list; std::vector<int> coord_index_list;
coord_index_list.reserve(coords_list.size()); coord_index_list.reserve(coords_list.size());
......
...@@ -33,7 +33,7 @@ namespace MoReFEM ...@@ -33,7 +33,7 @@ namespace MoReFEM
/* /*
* \brief Same as the namesake function in HappyHeart namespace, with different call arguments. * \brief Same as the namesake function in MoReFEM namespace, with different call arguments.
* *
* This form is used in ComputeConnectivity(): the subset of GeometricElements has already been computed * This form is used in ComputeConnectivity(): the subset of GeometricElements has already been computed
* there and it would be a waste to perform againe xactly the same operation. * there and it would be a waste to perform againe xactly the same operation.
......
...@@ -61,7 +61,7 @@ namespace MoReFEM ...@@ -61,7 +61,7 @@ namespace MoReFEM
* *
* It reads Ensight 6 format file; there are absolutely no guarantee it is able to read any valid * It reads Ensight 6 format file; there are absolutely no guarantee it is able to read any valid
* Ensight file (on the contrary, I'm positive it does not). However it is able to read the Ensight * Ensight file (on the contrary, I'm positive it does not). However it is able to read the Ensight
* files likely to be given as input in HappyHeart. * files likely to be given as input in MoReFEM.
* *
* An Ensight case file is also required to read it with Ensight client. * An Ensight case file is also required to read it with Ensight client.
* *
......
...@@ -426,7 +426,7 @@ namespace MoReFEM ...@@ -426,7 +426,7 @@ namespace MoReFEM
if (version_ == 1) if (version_ == 1)
{ {
std::cout << "\n[WARNING] Medit mesh displays a version '1', i.e. that single precision is intended " std::cout << "\n[WARNING] Medit mesh displays a version '1', i.e. that single precision is intended "
"to be used within libmesh library. HappyHeart only sports double precision for coords, so you should " "to be used within libmesh library. MoReFEM only sports double precision for coords, so you should "
"probably modify the version in the mesh file to '2' or '3'." << std::endl << std::endl; "probably modify the version in the mesh file to '2' or '3'." << std::endl << std::endl;
} }
......
...@@ -94,7 +94,7 @@ namespace MoReFEM ...@@ -94,7 +94,7 @@ namespace MoReFEM
std::cout << "Writing to file "<< mesh_file << std::endl; std::cout << "Writing to file "<< mesh_file << std::endl;
file_out << "# vtk DataFile Version 1.0\n"; file_out << "# vtk DataFile Version 1.0\n";
file_out << "VTK Mesh from HappyHeart\n"; file_out << "VTK Mesh from MoReFEM\n";
file_out << "ASCII\n"; file_out << "ASCII\n";
file_out << "DATASET POLYDATA\n"; file_out << "DATASET POLYDATA\n";
......
...@@ -61,7 +61,7 @@ namespace MoReFEM ...@@ -61,7 +61,7 @@ namespace MoReFEM
* *
* It reads VTK_PolygonalData format file; there are absolutely no guarantee it is able to read any valid * It reads VTK_PolygonalData format file; there are absolutely no guarantee it is able to read any valid
* VTK_PolygonalData file (on the contrary, I'm positive it does not). However it is able to read the VTK_PolygonalData * VTK_PolygonalData file (on the contrary, I'm positive it does not). However it is able to read the VTK_PolygonalData
* files likely to be given as input in HappyHeart. * files likely to be given as input in MoReFEM.
* *
* An VTK_PolygonalData case file is also required to read it with VTK_PolygonalData client. * An VTK_PolygonalData case file is also required to read it with VTK_PolygonalData client.
* *
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment