Loading [MathJax]/jax/output/HTML-CSS/config.js
OGS
MergeMeshToBulkMesh.cpp File Reference

Detailed Description

Created on March 26, 2025, 4:28 PM

Definition in file MergeMeshToBulkMesh.cpp.

#include "MergeMeshToBulkMesh.h"
#include <Eigen/Dense>
#include <algorithm>
#include <cmath>
#include <numeric>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/zip.hpp>
#include <tuple>
#include <vector>
#include "BaseLib/Logging.h"
#include "GeoLib/AABB.h"
#include "MeshLib/Elements/Elements.h"
#include "MeshLib/Mesh.h"
#include "MeshLib/Node.h"
#include "MeshLib/Properties.h"
#include "MeshLib/Utils/IntegrationPointWriter.h"
#include "MeshLib/Utils/getOrCreateMeshProperty.h"
#include "MeshToolsLib/IntegrationPointDataTools.h"
#include "PartitionNodesByCoordinateMatch.h"
Include dependency graph for MergeMeshToBulkMesh.cpp:

Go to the source code of this file.

Namespaces

namespace  MeshToolsLib
 

Functions

template<typename T >
void MeshToolsLib::setSigma0 (int const pv_num_components, MeshLib::PropertyVector< T > const *const pv_bulk_mesh, std::unordered_map< std::string, double > &initial_value_dict, MeshLib::PropertyVector< T > &new_pv)
 
template<typename T >
bool MeshToolsLib::createNodeProperties (MeshLib::Mesh &merged_mesh, std::string const &pv_name, int const pv_num_components, MeshLib::PropertyVector< T > const *const pv_bulk_mesh, std::unordered_map< std::string, double > &initial_value_dict)
 
template<typename T >
bool MeshToolsLib::createCellProperties (MeshLib::Mesh &merged_mesh, std::string const &pv_name, int const pv_num_components, MeshLib::PropertyVector< T > const *const pv_bulk_mesh, std::unordered_map< std::string, double > &initial_value_dict)
 
template<typename T >
bool MeshToolsLib::createIntegrationPointProperties (MeshLib::Mesh &merged_mesh, std::string const &pv_name, int const pv_num_components, MeshLib::PropertyVector< T > const *const pv_bulk_mesh, std::unordered_map< std::string, double > &initial_value_dict, std::optional< MeshLib::IntegrationPointMetaData > const &integration_point_meta_data)
 
template<typename T >
bool MeshToolsLib::createMergedPropertyVector (MeshLib::Mesh &merged_mesh, std::unordered_map< std::string, double > &initial_value_dict, MeshLib::PropertyVector< T > const *const pv_bulk_mesh, std::optional< MeshLib::IntegrationPointMetaData > const &integration_point_meta_data)
 
std::vector< MeshLib::Node * > MeshToolsLib::findNodesInBoundedDomain (std::vector< MeshLib::Node * > const &nodes, GeoLib::AABB const &aabb)
 
std::unique_ptr< MeshLib::MeshMeshToolsLib::mergeMeshToBulkMesh (MeshLib::Mesh const &bulk_mesh, MeshLib::Mesh const &other_mesh, std::unordered_map< std::string, double > &initial_value_dict)