Go to the documentation of this file.
34 static const bool enable =
true;
37 #define clonefunc(T) \
38 virtual std::unique_ptr<Attribute> clone() const override \
40 return std::unique_ptr<Attribute>(new T(*this)); \
43 #define hashfunc(...) \
44 virtual size_t hash() const override \
47 Moose::hash_combine(h, __VA_ARGS__); \
65 std::vector<unsigned int>
_vals;
90 _vals.push_back(exec_flag);
99 std::vector<unsigned int>
_vals;
230 :
Attribute(w,
"interfaces"),
_val(static_cast<uint64_t>(mask))
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
AttribInterfaces(TheWarehouse &w, Interfaces mask)
Base class for Postprocessors that produce a vector of values.
Attribute is an abstract class that can be implemented in order to track custom metadata about MooseO...
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
A user object that runs over all the nodes and does an aggregation step to compute a single value.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
AttribVar(TheWarehouse &w, int var)
TODO: delete this later - it is a temporary hack for dealing with inter-system dependencies.
AttribThread(TheWarehouse &w, THREAD_ID t)
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
AttribName(TheWarehouse &w, const std::string &name)
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
std::vector< BoundaryID > _vals
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
Every object that can be built by the factory should be derived from this class.
AttribBoundaries(TheWarehouse &w, BoundaryID id, bool must_be_restricted=false)
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
clonefunc(AttribInterfaces)
SideUserObject class in which the _phi and _grad_phi shape function data is available and correctly i...
AttribInterfaces(TheWarehouse &w, unsigned int mask)
hashfunc(_vals, _must_be_restricted)
Base class for user-specific data.
std::vector< unsigned int > _vals
AttribPreIC(TheWarehouse &w, bool pre_ic)
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
boundary_id_type BoundaryID
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
std::vector< unsigned int > _vals
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
subdomain_id_type SubdomainID
AttribTagBase(TheWarehouse &w, unsigned int tag, const std::string &attrib_name)
TheWarehouse is a container for MooseObjects that allows querying/filtering over various customizeabl...
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
std::vector< SubdomainID > _vals
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
AttribSubdomains(TheWarehouse &w, SubdomainID id)
TODO: delete this later - it is a temporary hack for dealing with inter-system dependencies.
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
ElementUserObject class in which the _phi and _grad_phi shape function data is available and correctl...
AttribExecOns(TheWarehouse &w, unsigned int exec_flag)
clonefunc(AttribBoundaries)
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
AttribPreAux(TheWarehouse &w, bool pre_aux)
virtual bool isMatch(const Attribute &other) const override
isMatch returns true if the meta-data stored in this attribute is equivalent to that stored in other.
Base class for implementing interface user objects.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
clonefunc(AttribSubdomains)
An instance of this object type has one copy per thread that runs on each thread.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.
AttribSystem(TheWarehouse &w, const std::string &system)
Base class for all Postprocessors.
virtual bool isEqual(const Attribute &other) const override
isEqual returns true if the meta-data stored in this attribute is identical to that stored in other.
virtual void initFrom(const MooseObject *obj) override
initFrom reads and stores the desired meta-data from obj for later matching comparisons.