https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CacheInfoThread.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
3//*
4//* All rights reserved, see COPYRIGHT for full restrictions
5//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6//*
7//* Licensed under LGPL 2.1, please see LICENSE for details
8//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10#pragma once
11
12#include "MooseMesh.h"
13#include "MooseTypes.h"
14
15#include "libmesh/elem_range.h"
16
22{
23public:
26
27 void operator()(const ConstElemRange & range);
28
29 void join(const CacheInfoThread & y);
30
31protected:
33
34 std::map<dof_id_type, std::set<SubdomainID>> _block_node_list;
35 std::set<SubdomainID> _lower_d_interior_blocks;
36 std::set<SubdomainID> _lower_d_boundary_blocks;
37 std::unordered_map<std::pair<const Elem *, unsigned short int>, const Elem *>
39 std::unordered_map<const Elem *, unsigned short int> _lower_d_elem_to_higher_d_elem_side;
40
41 friend class MooseMesh;
42};
Fills lower-d side maps and node-to-block ownership for MooseMesh::cacheInfo().
std::unordered_map< std::pair< const Elem *, unsigned short int >, const Elem * > _higher_d_elem_side_to_lower_d_elem
std::map< dof_id_type, std::set< SubdomainID > > _block_node_list
std::unordered_map< const Elem *, unsigned short int > _lower_d_elem_to_higher_d_elem_side
MooseMesh & _mesh
std::set< SubdomainID > _lower_d_interior_blocks
std::set< SubdomainID > _lower_d_boundary_blocks
void operator()(const ConstElemRange &range)
void join(const CacheInfoThread &y)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
MeshBase & mesh