15 #include "libmesh/elem_range.h" 30 std::vector<std::vector<std::unique_ptr<Assembly>>> & assembly);
38 virtual void onElement(
const Elem * elem)
override;
42 const Elem * lower_d_elem =
nullptr)
override;
43 virtual void onInternalSide(
const Elem * elem,
unsigned int side)
override;
53 std::vector<std::vector<std::unique_ptr<Assembly>>> &
_assembly;
Base class for assembly-like calculations.
ProjectMaterialProperties(bool refine, FEProblemBase &fe_problem, MaterialPropertyStorage &material_props, MaterialPropertyStorage &bnd_material_props, std::vector< std::vector< std::unique_ptr< Assembly >>> &assembly)
Keeps track of stuff related to assembling.
virtual void subdomainChanged() override
Called every time the current subdomain changes (i.e.
Stores the stateful material properties computed by materials.
MaterialPropertyStorage & _bnd_material_props
const MaterialWarehouse & _discrete_materials
Discrete materials warehouse.
bool shouldComputeInternalSide(const Elem &, const Elem &) const override
Whether to compute the internal side for the provided element-neighbor pair.
MaterialBase objects are special in that they have additional objects created automatically (see FEPr...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
virtual void onElement(const Elem *elem) override
Assembly of the element (not including surface assembly)
FEProblemBase & _fe_problem
Nonlinear system to be solved.
bool _refine
Whether or not you are projecting refinements. Set to false for coarsening.
const MaterialWarehouse & _materials
Materials warehouse.
MaterialPropertyStorage & _material_props
bool _need_internal_side_material
boundary_id_type BoundaryID
virtual void onBoundary(const Elem *elem, unsigned int side, BoundaryID bnd_id, const Elem *lower_d_elem=nullptr) override
Called when doing boundary assembling.
Proxy for accessing MaterialPropertyStorage.
void join(const ProjectMaterialProperties &)
virtual void onInternalSide(const Elem *elem, unsigned int side) override
Called when doing internal edge assembling.
std::vector< std::vector< std::unique_ptr< Assembly > > > & _assembly
virtual ~ProjectMaterialProperties()