https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CacheChangedListsThread.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
13
14#include "libmesh/stored_range.h"
15
17{
18public:
22
23 virtual void onElement(const Elem * elem) override;
24
25 void join(const CacheChangedListsThread & y);
26
27 bool shouldComputeInternalSide(const Elem & elem, const Elem & neighbor) const override;
28
29protected:
31 std::vector<const Elem *> _refined_elements;
32
34 std::vector<const Elem *> _coarsened_elements;
35
37 std::map<const Elem *, std::vector<const Elem *>> _coarsened_element_children;
38
39 friend class MooseMesh;
40};
std::vector< const Elem * > _refined_elements
The elements that were just refined.
std::map< const Elem *, std::vector< const Elem * > > _coarsened_element_children
Map of Parent elements to children elements for elements that were just coarsened.
std::vector< const Elem * > _coarsened_elements
The elements that were just coarsened.
void join(const CacheChangedListsThread &y)
bool shouldComputeInternalSide(const Elem &elem, const Elem &neighbor) const override
Whether to compute the internal side for the provided element-neighbor pair.
virtual void onElement(const Elem *elem) override
Assembly of the element (not including surface assembly)
MooseMesh wraps a libMesh::Mesh object and enhances its capabilities by caching additional data and s...
Definition MooseMesh.h:95
Base class for assembly-like calculations.
MeshBase & mesh