28 WorksetOptions options;
29 options.side_assembly_ =
false;
30 options.align_side_points_ =
false;
31 options.orientations_ = orientations;
34 workset.
setup(partition, options);
50 std::vector<panzer::LocalMeshPartition> partitions;
54 for(
const auto & partition : partitions){
56 convertMeshPartitionToWorkset(partition, orientations, worksets->back());
59 size_t id = std::hash<WorksetDescriptor>()(description);
61 worksets->back().setIdentifier(
id);
void generateLocalMeshPartitions(const panzer::LocalMeshInfo &mesh_info, const panzer::WorksetDescriptor &description, std::vector< panzer::LocalMeshPartition > &partitions)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
Teuchos::RCP< std::vector< panzer::Workset > > buildPartitionedWorksets(const panzer::LocalMeshInfo &mesh_info, const panzer::WorksetDescriptor &description, const Teuchos::RCP< const OrientationsInterface > &orientations)
void hash_combine(std::size_t &seed, const T &v)
#define TEUCHOS_ASSERT(assertion_test)
void setup(const LocalMeshPartition &partition, const WorksetOptions &options)
Constructs the workset details from a given chunk of the mesh.
bool requiresPartitioning() const
Do we need to partition the local mesh prior to generating worksets.