14 #include "libmesh/elem.h" 19 const std::set<TagID> & tags)
33 bool bypass_threading )
40 _tid = bypass_threading ? 0 : puid.
id;
47 for (el = range.
begin(); el != range.
end(); ++el)
52 const Elem * elem = *el;
70 mooseException(
"We caught a libMesh error in ComputeJacobianForScalingThread: ", e.what());
72 catch (MetaPhysicL::LogicError & e)
virtual void postElement(const Elem *) override
Called after the element assembly is done (including surface assembling)
ComputeJacobianForScalingThread(FEProblemBase &fe_problem, const std::set< TagID > &tags)
void translateMetaPhysicLError(const MetaPhysicL::LogicError &)
emit a relatively clear error message when we catch a MetaPhysicL logic error
virtual void pre()
Called before the element range loop.
virtual void preElement(const Elem *elem) override
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Specialization of SubProblem for solving nonlinear equations plus auxiliary equations.
const SubdomainID INVALID_BLOCK_ID
virtual bool keepGoing() override
virtual void computeOnElement()
NonlinearSystemBase & _nl
bool offDiagonalsInAutoScaling() const
const_iterator end() const
Provides a way for users to bail out of the current solve.
subdomain_id_type subdomain_id() const
vec_type::const_iterator const_iterator
const_iterator begin() const
virtual void computeOnElement() override
virtual void caughtMooseException(MooseException &e) override
SubdomainID _subdomain
The subdomain for the current element.
void operator()(const libMesh::ConstElemRange &range, bool bypass_threading=false) final
virtual void onElement(const Elem *elem) override
Assembly of the element (not including surface assembly)
SubdomainID _old_subdomain
The subdomain for the last element.
virtual void computeOnElement() override
virtual void post() override
Called after the element range loop.
SubdomainID _neighbor_subdomain
The subdomain for the current neighbor.
virtual void subdomainChanged() override
Called every time the current subdomain changes (i.e.