OGS
transformMeshToNodePartitionedMesh.cpp File Reference

Detailed Description

Definition in file transformMeshToNodePartitionedMesh.cpp.

#include "transformMeshToNodePartitionedMesh.h"
#include <mpi.h>
#include <numeric>
#include <range/v3/algorithm/count_if.hpp>
#include <range/v3/numeric.hpp>
#include <range/v3/range/conversion.hpp>
#include <range/v3/view/enumerate.hpp>
#include <range/v3/view/indirect.hpp>
#include <range/v3/view/map.hpp>
#include <unordered_map>
#include <vector>
#include "BaseLib/Logging.h"
#include "MeshLib/Elements/Element.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
#include "MeshLib/NodePartitionedMesh.h"
#include "MeshLib/Utils/DuplicateMeshComponents.h"
Include dependency graph for transformMeshToNodePartitionedMesh.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{transformMeshToNodePartitionedMesh.cpp}
 
namespace  MeshLib
 

Functions

bool anonymous_namespace{transformMeshToNodePartitionedMesh.cpp}::isRegularNode (MeshLib::NodePartitionedMesh const &bulk_mesh, std::vector< std::size_t > const &local_bulk_node_ids_for_subdomain, std::size_t const subdomain_node_id)
 
std::pair< int, int > MeshLib::getMPIRankAndSize (MPI_Comm const &mpi_comm)
 
std::pair< std::vector< Node * >, std::vector< Element * > > MeshLib::copyNodesAndElements (std::vector< Element * > const &input_elements)
 
unsigned long MeshLib::computeNumberOfRegularNodes (NodePartitionedMesh const *bulk_mesh, Mesh const *subdomain_mesh)
 
std::vector< std::size_t > MeshLib::computeRegularBaseNodeGlobalNodeIDsOfSubDomainPartition (NodePartitionedMesh const *bulk_mesh, Mesh const *subdomain_mesh)
 
std::vector< std::size_t > MeshLib::computeGhostBaseNodeGlobalNodeIDsOfSubDomainPartition (NodePartitionedMesh const *bulk_mesh, Mesh const *subdomain_mesh, std::vector< std::size_t > const &global_regular_base_node_ids)
 
std::vector< std::size_t > MeshLib::computeNumberOfRegularBaseNodesAtRank (Mesh const *subdomain_mesh)
 
std::vector< std::size_t > MeshLib::computeNumberOfRegularHigherOrderNodesAtRank (Mesh const *subdomain_mesh)
 
std::vector< std::size_t > MeshLib::computeGlobalNodeIDsOfSubDomainPartition (NodePartitionedMesh const *bulk_mesh, Mesh const *subdomain_mesh)
 
unsigned long MeshLib::getNumberOfGlobalNodes (Mesh const *subdomain_mesh)
 
std::unique_ptr< NodePartitionedMeshMeshLib::transformMeshToNodePartitionedMesh (NodePartitionedMesh const *const bulk_mesh, Mesh const *const subdomain_mesh)