Panzer  Version of the Day
Public Member Functions | Public Attributes | List of all members
panzer::Workset Struct Reference

#include <Panzer_Workset.hpp>

Inheritance diagram for panzer::Workset:
Inheritance graph
[legend]

Public Member Functions

 Workset ()
 
WorksetDetailsoperator() (const int i)
 op(0) return *this; op(1) returns *other. More...
 
const WorksetDetailsoperator() (const int i) const
 const accessor. More...
 
WorksetDetailsdetails (const int i)
 Convenience wrapper to operator() for pointer access. More...
 
const WorksetDetailsdetails (const int i) const
 
size_t numDetails () const
 Return the number of WorksetDetails this Workset holds. More...
 

Public Attributes

index_t num_cells
 
int subcell_dim
 
double alpha
 If workset corresponds to a sub cell, what is the dimension? More...
 
double beta
 
double time
 
double step_size
 
double stage_number
 
std::vector< double > gather_seeds
 
bool evaluate_transient_terms
 
Teuchos::RCP< WorksetDetailsother
 
- Public Attributes inherited from panzer::WorksetDetails
Kokkos::View< const int *, PHX::Device > cell_local_ids_k
 
std::vector< std::size_t > cell_local_ids
 
CellCoordArray cell_vertex_coordinates
 
std::string block_id
 
int subcell_index
 
Teuchos::RCP< std::vector< int > > ir_degrees
 If workset corresponds to a sub cell, what is the index? More...
 
std::vector< Teuchos::RCP< panzer::IntegrationValues2< double > > > int_rules
 
Teuchos::RCP< std::vector< std::string > > basis_names
 Value corresponds to basis type. Use the offest for indexing. More...
 
std::vector< Teuchos::RCP< panzer::BasisValues2< double > > > bases
 Static basis function data, key is basis name, value is index in the static_bases vector. More...
 

Additional Inherited Members

- Public Types inherited from panzer::WorksetDetails
typedef PHX::MDField< double, Cell, NODE, Dim > CellCoordArray
 

Detailed Description

This is the main workset object. Not that it inherits from WorksetDetails, this is to maintain backwards compatibility in the use of the workset object. The addition of a details vector supports things like DG based assembly.

Definition at line 93 of file Panzer_Workset.hpp.

Constructor & Destructor Documentation

◆ Workset()

panzer::Workset::Workset ( )
inline

Definition at line 94 of file Panzer_Workset.hpp.

Member Function Documentation

◆ operator()() [1/2]

WorksetDetails& panzer::Workset::operator() ( const int  i)
inline

op(0) return *this; op(1) returns *other.

Definition at line 113 of file Panzer_Workset.hpp.

◆ operator()() [2/2]

const WorksetDetails& panzer::Workset::operator() ( const int  i) const
inline

const accessor.

Definition at line 118 of file Panzer_Workset.hpp.

◆ details() [1/2]

WorksetDetails& panzer::Workset::details ( const int  i)
inline

Convenience wrapper to operator() for pointer access.

Definition at line 123 of file Panzer_Workset.hpp.

◆ details() [2/2]

const WorksetDetails& panzer::Workset::details ( const int  i) const
inline

Definition at line 124 of file Panzer_Workset.hpp.

◆ numDetails()

size_t panzer::Workset::numDetails ( ) const
inline

Return the number of WorksetDetails this Workset holds.

Definition at line 126 of file Panzer_Workset.hpp.

Member Data Documentation

◆ num_cells

index_t panzer::Workset::num_cells

Definition at line 96 of file Panzer_Workset.hpp.

◆ subcell_dim

int panzer::Workset::subcell_dim

Definition at line 97 of file Panzer_Workset.hpp.

◆ alpha

double panzer::Workset::alpha

If workset corresponds to a sub cell, what is the dimension?

Definition at line 99 of file Panzer_Workset.hpp.

◆ beta

double panzer::Workset::beta

Definition at line 100 of file Panzer_Workset.hpp.

◆ time

double panzer::Workset::time

Definition at line 101 of file Panzer_Workset.hpp.

◆ step_size

double panzer::Workset::step_size

Definition at line 102 of file Panzer_Workset.hpp.

◆ stage_number

double panzer::Workset::stage_number

Definition at line 103 of file Panzer_Workset.hpp.

◆ gather_seeds

std::vector<double> panzer::Workset::gather_seeds

Definition at line 104 of file Panzer_Workset.hpp.

◆ evaluate_transient_terms

bool panzer::Workset::evaluate_transient_terms

Definition at line 105 of file Panzer_Workset.hpp.

◆ other

Teuchos::RCP<WorksetDetails> panzer::Workset::other

other contains details about the side-sharing elements on the other side of the interface. If Teuchos::nonnull(other), then Workset contains two WorksetDetails: itself, and other.

Definition at line 110 of file Panzer_Workset.hpp.


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