17#include "neml2/tensors/Tensor.h"
const InputParameters & parameters() const
Get the parameters of the object.
This user object caches assembly information from MOOSE.
void finalize() override
Finalize.
const neml2::Tensor & JxWxT() const
Get the cached JxWxT for each element, each quadrature point.
void execute() override
Execute method.
void initialize() override
Called before execute() is ever called so that data can be cleared.
std::vector< Real > _moose_JxWxT
JxWxT (product of Jacobian determinant, quadrature weight, and coordinate transformation factor) for ...
int64_t numQP() const
Number of quadrature points per element.
void invalidate()
Invalidate the cached assembly information.
int64_t numElem() const
Number of active elements on this rank.
bool _up_to_date
Whether the current assembly cache is up to date.
static InputParameters validParams()
int64_t _nqp
number of quadrature points per element
int64_t _nelem
number of elements on this rank
void threadJoin(const UserObject &) override
Must override.
neml2::Tensor _neml2_JxWxT
void meshChanged() override
Called on this object when the mesh changes.
bool upToDate() const
Whether the current assembly cache is up to date.
Base class for user-specific data.