60 workset.
setup(partition, needs);
66 Teuchos::RCP<std::vector<panzer::Workset> >
71 Teuchos::RCP<std::vector<panzer::Workset> > worksets = Teuchos::rcp(
new std::vector<panzer::Workset>());
77 std::vector<panzer::LocalMeshPartition> partitions;
80 for(
const auto & partition : partitions){
82 convertMeshPartitionToWorkset(partition, needs, worksets->back());
void generateLocalMeshPartitions(const panzer::LocalMeshInfo &mesh_info, const panzer::WorksetDescriptor &description, std::vector< panzer::LocalMeshPartition > &partitions)
void setup(const panzer::LocalMeshPartition &partition, const panzer::WorksetNeeds &needs)
Constructs the workset details from a given chunk of the mesh.
panzer::LocalOrdinal num_owned_cells
panzer::LocalOrdinal num_virtual_cells
bool requiresPartitioning() const
Do we need to partition the local mesh prior to generating worksets.
panzer::LocalOrdinal num_ghstd_cells
Teuchos::RCP< std::vector< panzer::Workset > > buildPartitionedWorksets(const panzer::LocalMeshInfo &mesh_info, const panzer::WorksetDescriptor &description, const panzer::WorksetNeeds &needs)