Panzer
Version of the Day
|
#include <Panzer_IntegrationDescriptor.hpp>
Public Types | |
enum | { NONE, VOLUME, SURFACE, SIDE, CV_VOLUME, CV_SIDE, CV_BOUNDARY } |
Possible integration types. More... | |
Public Member Functions | |
IntegrationDescriptor () | |
Constructor for empty integrator. More... | |
virtual | ~IntegrationDescriptor ()=default |
Destructor. More... | |
IntegrationDescriptor (const int cubature_order, const int integration_type, const int side=-1) | |
Constructor for integrator description. More... | |
const int & | getType () const |
Get type of integrator. More... | |
const int & | getOrder () const |
Get order of integrator. More... | |
const int & | getSide () const |
Get side associated with integration - this is for backward compatibility. More... | |
std::size_t | getKey () const |
Get unique key associated with integrator of this order and type The key is used to sort through a map of IntegrationDescriptors. More... | |
Protected Member Functions | |
void | setup (const int cubature_order, const int integration_type, const int side=-1) |
Setup function. More... | |
Protected Attributes | |
int | _integration_type |
Type of integration. More... | |
int | _cubature_order |
Order of integration (Order of polynomial this integrator is designed for) More... | |
int | _side |
Side associated with integration - this is for backward compatibility. More... | |
std::size_t | _key |
Unique key associated with integrator. More... | |
Definition at line 18 of file Panzer_IntegrationDescriptor.hpp.
anonymous enum |
Possible integration types.
Definition at line 25 of file Panzer_IntegrationDescriptor.hpp.
panzer::IntegrationDescriptor::IntegrationDescriptor | ( | ) |
Constructor for empty integrator.
Definition at line 20 of file Panzer_IntegrationDescriptor.cpp.
|
virtualdefault |
Destructor.
panzer::IntegrationDescriptor::IntegrationDescriptor | ( | const int | cubature_order, |
const int | integration_type, | ||
const int | side = -1 |
||
) |
Constructor for integrator description.
[in] | cubature_order | Order of polynomial to integrate (e.g. 2 could integrate a quadratic equation) |
[in] | integration_type | Type of integration (e.g. Volume integral, Surface integral, Side integral...) |
[in] | side | Side of cell to integrate over (default to -1 -> ignore sides) |
Definition at line 25 of file Panzer_IntegrationDescriptor.cpp.
|
inline |
Get type of integrator.
Definition at line 55 of file Panzer_IntegrationDescriptor.hpp.
|
inline |
Get order of integrator.
Definition at line 61 of file Panzer_IntegrationDescriptor.hpp.
|
inline |
Get side associated with integration - this is for backward compatibility.
Definition at line 67 of file Panzer_IntegrationDescriptor.hpp.
|
inline |
Get unique key associated with integrator of this order and type The key is used to sort through a map of IntegrationDescriptors.
Definition at line 74 of file Panzer_IntegrationDescriptor.hpp.
|
protected |
Setup function.
[in] | cubature_order | Order of polynomial to integrate (e.g. 2 could integrate a quadratic equation) |
[in] | integration_type | Type of integration (e.g. Volume integral, Surface integral, Side integral...) |
[in] | side | Side of cell to integrate over (default to -1 -> ignore sides) |
Definition at line 31 of file Panzer_IntegrationDescriptor.cpp.
|
protected |
Type of integration.
Definition at line 87 of file Panzer_IntegrationDescriptor.hpp.
|
protected |
Order of integration (Order of polynomial this integrator is designed for)
Definition at line 90 of file Panzer_IntegrationDescriptor.hpp.
|
protected |
Side associated with integration - this is for backward compatibility.
Definition at line 93 of file Panzer_IntegrationDescriptor.hpp.
|
protected |
Unique key associated with integrator.
Definition at line 96 of file Panzer_IntegrationDescriptor.hpp.