43 #ifndef __Panzer_WorksetDescriptor_hpp__ 44 #define __Panzer_WorksetDescriptor_hpp__ 84 const std::string & sideset,
92 "WorksetDescriptor constr: Side set name must be non-empty!");
157 std::size_t seed = 0;
173 os <<
"Side descriptor: " 176 <<
"side assembly = " << (wd.
sideAssembly() ?
"on" :
"off");
178 os <<
"Block descriptor: " 209 std::size_t seed = 0;
WorksetDescriptor(const std::string &eBlock)
std::size_t hash_value(const WorksetDescriptor &wd)
Hash function that satisifies the stl hash interface.
std::string sideset_
Side set, must be non-empty if useSideset_ is true.
bool useSideset_
Use the side set information or not.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
WorksetDescriptor sidesetDescriptor(const std::string &eBlock, const std::string &sideset)
WorksetDescriptor(const WorksetDescriptor &src)
Copy constructor.
bool operator==(const WorksetDescriptor &a, const WorksetDescriptor &b)
Equality operation for use with hash tables and maps.
WorksetDescriptor sidesetVolumeDescriptor(const std::string &eBlock, const std::string &sideset)
std::string elementBlock_
Element block, required to be non-empty.
bool sideAssembly() const
Expects side set assembly on volume.
std::string getSideset() const
Get the side set.
bool useSideset() const
This descriptor is for a side set.
WorksetDescriptor(const std::string &eBlock, const std::string &sideset, bool sideAssembly)
std::string getElementBlock() const
Get element block.
void hash_combine(std::size_t &seed, const T &v)
std::ostream & operator<<(std::ostream &os, const AssemblyEngineInArgs &in)
std::size_t operator()(const panzer::WorksetDescriptor &wd) const
WorksetDescriptor blockDescriptor(const std::string &eBlock)