Commit ffd26d7d authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#882 - #887 Keep replacing Private namespaces, mostly in Utilities/ThirdParty.

parent da28b9cc
This diff is collapsed.
......@@ -133,7 +133,7 @@ namespace HappyHeart
}; //struct DirichletBoundaryCondition
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -35,7 +35,7 @@ namespace HappyHeart
}
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -216,13 +216,13 @@ namespace HappyHeart
}
} //namespace DirichletBoundaryConditionNS
} // namespace DirichletBoundaryConditionNS
} //namespace Private
} // namespace Private
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......@@ -335,13 +335,13 @@ namespace HappyHeart
} //namespace DirichletBoundaryConditionNS
} // namespace DirichletBoundaryConditionNS
} //namespace Private
} // namespace Private
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -133,7 +133,7 @@ namespace HappyHeart
}; // struct Fiber
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -45,7 +45,7 @@ namespace HappyHeart
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -134,10 +134,10 @@ namespace HappyHeart
} //namespace FiberNS
} // namespace FiberNS
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......@@ -218,10 +218,10 @@ namespace HappyHeart
} //namespace FiberNS
} // namespace FiberNS
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......
......@@ -36,7 +36,7 @@ namespace HappyHeart
}
const Wrappers::Mpi& GetMpi(const GodOfDof& god_of_dof)
const ::HappyHeart::Wrappers::Mpi& GetMpi(const GodOfDof& god_of_dof)
{
return god_of_dof.MpiHappyHeart();
}
......
......@@ -81,7 +81,7 @@ namespace HappyHeart
*
* \return Wrappers::Mpi object associated to the \a god_of_dof.
*/
const Wrappers::Mpi& GetMpi(const GodOfDof& god_of_dof);
const ::HappyHeart::Wrappers::Mpi& GetMpi(const GodOfDof& god_of_dof);
} // namespace FEltSpaceNS
......
......@@ -53,7 +53,7 @@ namespace HappyHeart
*/
Impl::InternalStorage& AddOrFetchDomainStorage(const LocalFEltSpacePerRefLocalFEltSpace& full_content,
const Domain& domain,
const Wrappers::Mpi& mpi,
const ::HappyHeart::Wrappers::Mpi& mpi,
std::mutex& mutex,
std::unordered_map<unsigned int, Impl::InternalStorage>& storage_per_domain);
......@@ -71,7 +71,7 @@ namespace HappyHeart
} // namespace anonymous
Storage::Storage(const Wrappers::Mpi& mpi,
Storage::Storage(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace&& felt_list_per_type)
: ::HappyHeart::Crtp::HappyHeartMpi<Storage>(mpi),
internal_storage_(Impl::InternalStorage(mpi, std::move(felt_list_per_type)))
......@@ -105,7 +105,7 @@ namespace HappyHeart
Impl::InternalStorage& AddOrFetchDomainStorage(const LocalFEltSpacePerRefLocalFEltSpace& full_content,
const Domain& domain,
const Wrappers::Mpi& mpi,
const ::HappyHeart::Wrappers::Mpi& mpi,
std::mutex& mutex,
std::unordered_map<unsigned int, Impl::InternalStorage>& storage_per_domain)
{
......
......@@ -97,7 +97,7 @@ namespace HappyHeart
* computed by FEltSpace::SetFEltList(), which is the method in charge of building current object
* to store and give quick access to relevant finite element data.
*/
explicit Storage(const Wrappers::Mpi& mpi,
explicit Storage(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace&& local_felt_space_list_per_type);
//! Destructor.
......
......@@ -34,7 +34,7 @@ namespace HappyHeart
InternalStorage
::InternalStorage(const Wrappers::Mpi& mpi,
::InternalStorage(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace&& felt_list_per_ref_felt_space)
: ::HappyHeart::Crtp::HappyHeartMpi<InternalStorage>(mpi),
felt_list_per_ref_felt_space_(std::move(felt_list_per_ref_felt_space))
......
......@@ -88,7 +88,7 @@ namespace HappyHeart
* \param[in] felt_list_per_ref_felt_space Finite element list per reference finite element space.
* It's just stored in the current class; it is actually computed elsewhere.
*/
explicit InternalStorage(const Wrappers::Mpi& mpi,
explicit InternalStorage(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace&& felt_list_per_ref_felt_space);
//! Destructor.
......
......@@ -134,7 +134,8 @@ namespace HappyHeart
}
}
matrix_pattern_ = std::make_unique<Wrappers::Petsc::MatrixPattern>(content_for_each_local_row);
matrix_pattern_ =
std::make_unique<::HappyHeart::Wrappers::Petsc::MatrixPattern>(content_for_each_local_row);
}
......
......@@ -133,7 +133,7 @@ namespace HappyHeart
const NumberingSubset& GetColumnNumberingSubset() const;
//! Get the pattern to feed to Petsc.
const Wrappers::Petsc::MatrixPattern& GetPattern() const;
const ::HappyHeart::Wrappers::Petsc::MatrixPattern& GetPattern() const;
private:
......@@ -149,7 +149,7 @@ namespace HappyHeart
const NumberingSubset::const_shared_ptr column_numbering_subset_ = nullptr;
//! Objects that stores effectively the pattern.
Wrappers::Petsc::MatrixPattern::const_unique_ptr matrix_pattern_ = nullptr;
::HappyHeart::Wrappers::Petsc::MatrixPattern::const_unique_ptr matrix_pattern_ = nullptr;
......
......@@ -38,7 +38,7 @@ namespace HappyHeart
}
inline const Wrappers::Petsc::MatrixPattern& MatrixPattern::GetPattern() const
inline const ::HappyHeart::Wrappers::Petsc::MatrixPattern& MatrixPattern::GetPattern() const
{
assert(!(!matrix_pattern_));
return *matrix_pattern_;
......
......@@ -131,8 +131,9 @@ namespace HappyHeart
assert(Ncoord == mesh.Ncoord());
const auto& coords_list = mesh.GetCoordsList();
Wrappers::Petsc::AccessVectorContent<Utilities::Access::read_only> vector_content(displacement,
__FILE__, __LINE__);
::HappyHeart::Wrappers::Petsc
::AccessVectorContent<Utilities::Access::read_only> vector_content(displacement,
__FILE__, __LINE__);
for (auto coord_index = 0ul; coord_index < Ncoord; ++coord_index)
{
......
......@@ -86,7 +86,7 @@ namespace HappyHeart
*
*/
void ParmetisPartitioning(const std::vector<unsigned int>& euclidian_partition,
const Wrappers::Mpi& mpi,
const ::HappyHeart::Wrappers::Mpi& mpi,
Utilities::CSRPattern<parmetis_int>&& node_bearer_csr_pattern,
NodeBearer::vector_shared_ptr& node_bearer_list);
......@@ -110,7 +110,7 @@ namespace HappyHeart
void PreparePartition(const Wrappers::Mpi& mpi,
void PreparePartition(const ::HappyHeart::Wrappers::Mpi& mpi,
const FEltSpace::vector_unique_ptr& felt_space_list,
NodeBearer::vector_shared_ptr& node_bearer_list)
{
......@@ -215,16 +215,16 @@ namespace HappyHeart
void ParmetisPartitioning(const std::vector<unsigned int>& euclidian_partition,
const Wrappers::Mpi& mpi,
const ::HappyHeart::Wrappers::Mpi& mpi,
Utilities::CSRPattern<parmetis_int>&& csr_node_bearer_pattern_for_parmetis,
NodeBearer::vector_shared_ptr& node_bearer_list)
{
// Call to Parmetis.
auto&& parmetis_numbering =
Wrappers::Parmetis::CreateNewPartitioning(euclidian_partition,
csr_node_bearer_pattern_for_parmetis.NonCstiCSR(),
csr_node_bearer_pattern_for_parmetis.NonCstjCSR(),
mpi);
::HappyHeart::Wrappers::Parmetis::CreateNewPartitioning(euclidian_partition,
csr_node_bearer_pattern_for_parmetis.NonCstiCSR(),
csr_node_bearer_pattern_for_parmetis.NonCstjCSR(),
mpi);
// Report for each node_bearer the processor in charge.
const std::size_t Nnode_bearer = node_bearer_list.size();
......
......@@ -58,7 +58,7 @@ namespace HappyHeart
* \copydetails doxygen_hide_mpi_param
* \param[in] felt_space_list List of finite element spaces in the god of dof that called present function.
*/
void PreparePartition(const Wrappers::Mpi& mpi,
void PreparePartition(const ::HappyHeart::Wrappers::Mpi& mpi,
const FEltSpace::vector_unique_ptr& felt_space_list,
NodeBearer::vector_shared_ptr& node_bearer_list);
......
......@@ -45,7 +45,7 @@ namespace HappyHeart
* \param[in,out] attribute_processor_helper Object which make the decision about the processor on which
* each geometric element should be related.
*/
void ReduceFEltList(const Wrappers::Mpi& mpi,
void ReduceFEltList(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace& felt_list_per_type,
Impl::AttributeProcessorHelper& attribute_processor_helper);
......@@ -92,7 +92,7 @@ namespace HappyHeart
};
void ReduceToProcessorWise::Perform(const Wrappers::Mpi& mpi,
void ReduceToProcessorWise::Perform(const ::HappyHeart::Wrappers::Mpi& mpi,
const FEltSpace::vector_unique_ptr& felt_space_list,
const NodeBearer::vector_shared_ptr& processor_wise_node_bearer_list,
NodeBearer::vector_shared_ptr& ghost_node_bearer_list,
......@@ -234,7 +234,7 @@ namespace HappyHeart
{
void ReduceFEltList(const Wrappers::Mpi& mpi,
void ReduceFEltList(const ::HappyHeart::Wrappers::Mpi& mpi,
LocalFEltSpacePerRefLocalFEltSpace& felt_list_per_type,
Impl::AttributeProcessorHelper& attribute_processor_helper)
{
......
......@@ -82,7 +82,7 @@ namespace HappyHeart
* parameter: if several finite element spaces are involved the same list us kept for all of them.
*/
static void Perform(const Wrappers::Mpi& mpi,
static void Perform(const ::HappyHeart::Wrappers::Mpi& mpi,
const FEltSpace::vector_unique_ptr& felt_space_list,
const NodeBearer::vector_shared_ptr& processor_wise_node_bearer_list,
NodeBearer::vector_shared_ptr& ghost_node_bearer_list,
......
......@@ -39,10 +39,10 @@ namespace HappyHeart
}
} //namespace DofSourcePolicyNS
} // namespace DofSourcePolicyNS
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} // namespace HappyHeart
......@@ -110,10 +110,10 @@ namespace HappyHeart
};
} //namespace DofSourcePolicyNS
} // namespace DofSourcePolicyNS
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} // namespace HappyHeart
......
......@@ -26,10 +26,10 @@ namespace HappyHeart
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} //namespace HyperelasticityNS
} // namespace HyperelasticityNS
} // namespace HappyHeart
......
......@@ -30,10 +30,10 @@ namespace HappyHeart
} //namespace DofSourcePolicyNS
} // namespace DofSourcePolicyNS
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} // namespace HappyHeart
......@@ -95,10 +95,10 @@ namespace HappyHeart
};
} //namespace DofSourcePolicyNS
} // namespace DofSourcePolicyNS
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} // namespace HappyHeart
......
......@@ -26,10 +26,10 @@ namespace HappyHeart
} //namespace DofSourcePolicyNS
} // namespace DofSourcePolicyNS
} //namespace VariationalFormulationNS
} // namespace VariationalFormulationNS
} // namespace HappyHeart
......
......@@ -131,7 +131,7 @@ namespace HappyHeart
static unsigned int counter_pseudo_normal_edge_;
};
}// namespace HappyHeart
} // namespace HappyHeart
# include "Geometry/Interfaces/Instances/Edge.hxx"
......
......@@ -38,10 +38,10 @@ namespace HappyHeart
} //namespace TopologyNS
} // namespace TopologyNS
} //namespace RefGeomEltNS
} // namespace RefGeomEltNS
} // namespace HappyHeart
......@@ -143,10 +143,10 @@ namespace HappyHeart
};
} //namespace TopologyNS
} // namespace TopologyNS
} //namespace RefGeomEltNS
} // namespace RefGeomEltNS
} // namespace HappyHeart
......
......@@ -92,10 +92,10 @@ namespace HappyHeart
}
} //namespace TopologyNS
} // namespace TopologyNS
} //namespace RefGeomEltNS
} // namespace RefGeomEltNS
} // namespace HappyHeart
......
......@@ -61,7 +61,8 @@ namespace HappyHeart
const std::vector<int>& coords,
int label_index)
{
Wrappers::Libmesh::MeditSetLin<NcoordT>(mesh_index, geometric_elt_code, coords, label_index);
::HappyHeart::Wrappers::Libmesh
::MeditSetLin<NcoordT>(mesh_index, geometric_elt_code, coords, label_index);
}
......@@ -93,7 +94,8 @@ namespace HappyHeart
std::vector<unsigned int>& coords,
int& label_index)
{
Wrappers::Libmesh::MeditGetLin<NcoordT>(mesh_index, geometric_elt_code, coords, label_index);
::HappyHeart::Wrappers::Libmesh
::MeditGetLin<NcoordT>(mesh_index, geometric_elt_code, coords, label_index);
}
......
......@@ -13,7 +13,7 @@
# include "Utilities/Containers/Tuple.hpp"
# include "ThirdParty/Wrappers/Petsc/Print.hpp"
# include "ThirdParty/Wrappers/Petsc/Vector/Private/CheckUpdateGhostManager.hpp"
# include "ThirdParty/Wrappers/Petsc/Vector/Internal/CheckUpdateGhostManager.hpp"
# include "Core/InputParameterData/Advanced/SetFromInputParameterData.hpp"
# include "Core/NumberingSubset/Internal/NumberingSubsetManager.hpp"
......
......@@ -122,7 +122,7 @@ namespace HappyHeart
#ifdef HAPPY_HEART_CHECK_UPDATE_GHOSTS_CALL_RELEVANCE
if (mpi.template Nprocessor<int>() > 1 && mpi.IsRootProcessor())
::HappyHeart::Wrappers::Petsc::Internal::CheckUpdateGhostManager::GetInstance().Print();
::HappyHeart::Internal::Wrappers::Petsc::CheckUpdateGhostManager::GetInstance().Print();
#endif // HAPPY_HEART_CHECK_UPDATE_GHOSTS_CALL_RELEVANCE
}
......
......@@ -33,7 +33,7 @@
# include "OperatorInstances/VariationalOperator/NonlinearForm/SecondPiolaKirchhoffStressTensor/ActiveStressPolicy/AnalyticalPrestress.hpp"
# include "OperatorInstances/VariationalOperator/NonlinearForm/Local/SecondPiolaKirchhoffStressTensor/Private/Helper.hpp"
# include "OperatorInstances/VariationalOperator/NonlinearForm/Local/SecondPiolaKirchhoffStressTensor/Internal/Helper.hpp"
# include "OperatorInstances/ParameterOperator//UpdateFiberDeformation.hpp"
......
......@@ -81,7 +81,7 @@ namespace HappyHeart
} // namespace FSI_EI_NS
} //namespace InputParameter
} // namespace InputParameter
} // namespace HappyHeart
......@@ -115,7 +115,7 @@ namespace HappyHeart
};
} //namespace FSI_EI_NS
} // namespace FSI_EI_NS
} // namespace InputParameter
......
......@@ -74,10 +74,10 @@ namespace HappyHeart
} //namespace Policy
} // namespace Policy
} //namespace FSI_EI_NS
} // namespace FSI_EI_NS
} // namespace HappyHeart
......@@ -117,10 +117,10 @@ namespace HappyHeart
};
} //namespace Policy
} // namespace Policy
} //namespace FSI_EI_NS
} // namespace FSI_EI_NS
} // namespace HappyHeart
......