Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
panzer::WorksetNeeds Struct Reference

#include <Panzer_WorksetNeeds.hpp>

Public Member Functions

 WorksetNeeds ()=default
 Constructor for empty needs. More...
 
 ~WorksetNeeds ()=default
 Destructor. More...
 
void addIntegrator (const panzer::IntegrationDescriptor &descriptor)
 Add request for integrator. More...
 
void addPoint (const panzer::PointDescriptor &descriptor)
 Add request for point. More...
 
void addBasis (const panzer::BasisDescriptor &descriptor)
 Add request for basis. More...
 
const std::vector
< panzer::IntegrationDescriptor > & 
getIntegrators () const
 Get a list of integrators being requested. More...
 
const std::vector
< panzer::PointDescriptor > & 
getPoints () const
 Get a list of points being requested. More...
 
const std::vector
< panzer::BasisDescriptor > & 
getBases () const
 Get a list of bases being requested. More...
 

Public Attributes

CellData cellData
 
std::vector< Teuchos::RCP
< const IntegrationRule > > 
int_rules
 
std::vector< Teuchos::RCP
< const PureBasis > > 
bases
 
std::vector< std::string > rep_field_name
 

Protected Attributes

std::vector
< panzer::IntegrationDescriptor
_integration_descriptors
 List of integration descriptors requested in workset. More...
 
std::vector
< panzer::PointDescriptor
_point_descriptors
 List of point descriptors requested in workset. More...
 
std::vector
< panzer::BasisDescriptor
_basis_descriptors
 List of basis descriptors requested in workset. More...
 

Detailed Description

This class provides a simplified interface to the objects required to specify a Workset. In paritcular this is all "meta" data that describes which basis functions are need, which integration rules are needed and the shape of the cell.

This is intended to be specified for each element block and side set based on the integration rules and basis functions that are needed.

Definition at line 72 of file Panzer_WorksetNeeds.hpp.

Constructor & Destructor Documentation

panzer::WorksetNeeds::WorksetNeeds ( )
default

Constructor for empty needs.

panzer::WorksetNeeds::~WorksetNeeds ( )
default

Destructor.

Member Function Documentation

void panzer::WorksetNeeds::addIntegrator ( const panzer::IntegrationDescriptor descriptor)
inline

Add request for integrator.

Parameters
[in]descriptorDescription of integration type

Definition at line 91 of file Panzer_WorksetNeeds.hpp.

void panzer::WorksetNeeds::addPoint ( const panzer::PointDescriptor descriptor)
inline

Add request for point.

Parameters
[in]descriptorDescription of point type

Definition at line 100 of file Panzer_WorksetNeeds.hpp.

void panzer::WorksetNeeds::addBasis ( const panzer::BasisDescriptor descriptor)
inline

Add request for basis.

Parameters
[in]descriptorDescription of basis type

Definition at line 109 of file Panzer_WorksetNeeds.hpp.

const std::vector<panzer::IntegrationDescriptor>& panzer::WorksetNeeds::getIntegrators ( ) const
inline

Get a list of integrators being requested.

Returns
List of integration descriptions

Definition at line 118 of file Panzer_WorksetNeeds.hpp.

const std::vector<panzer::PointDescriptor>& panzer::WorksetNeeds::getPoints ( ) const
inline

Get a list of points being requested.

Returns
List of point descriptions

Definition at line 127 of file Panzer_WorksetNeeds.hpp.

const std::vector<panzer::BasisDescriptor>& panzer::WorksetNeeds::getBases ( ) const
inline

Get a list of bases being requested.

Returns
List of basis descriptions

Definition at line 136 of file Panzer_WorksetNeeds.hpp.

Member Data Documentation

CellData panzer::WorksetNeeds::cellData

Definition at line 142 of file Panzer_WorksetNeeds.hpp.

std::vector<Teuchos::RCP<const IntegrationRule> > panzer::WorksetNeeds::int_rules

Definition at line 145 of file Panzer_WorksetNeeds.hpp.

std::vector<Teuchos::RCP<const PureBasis> > panzer::WorksetNeeds::bases

Definition at line 148 of file Panzer_WorksetNeeds.hpp.

std::vector<std::string> panzer::WorksetNeeds::rep_field_name

Definition at line 151 of file Panzer_WorksetNeeds.hpp.

std::vector<panzer::IntegrationDescriptor> panzer::WorksetNeeds::_integration_descriptors
protected

List of integration descriptors requested in workset.

Definition at line 156 of file Panzer_WorksetNeeds.hpp.

std::vector<panzer::PointDescriptor> panzer::WorksetNeeds::_point_descriptors
protected

List of point descriptors requested in workset.

Definition at line 159 of file Panzer_WorksetNeeds.hpp.

std::vector<panzer::BasisDescriptor> panzer::WorksetNeeds::_basis_descriptors
protected

List of basis descriptors requested in workset.

Definition at line 162 of file Panzer_WorksetNeeds.hpp.


The documentation for this struct was generated from the following file: