Type for specifying the polynomial order of the space for one component.
More...
#include <ptems/space.hpp>
|
class | DiscreteFunctionSpace |
|
template<std::size_t DIM, typename X, std::size_t N>
struct ptems::DiscreteFunctionSpace< DIM, X, N >::SpacePolynomialDegree
Type for specifying the polynomial order of the space for one component.
◆ operator()()
template<std::size_t DIM, typename X , std::size_t N>
Gets the polynomial degree for the specified element.
- Parameters
-
elementIdx | The element index to get the polynomial degree for |
- Returns
- The polynomial degree
◆ operator[]()
template<std::size_t DIM, typename X , std::size_t N>
Gets the polynomial degree for the specified element.
- Parameters
-
elementIdx | The element index to get the polynomial degree for |
- Returns
- The polynomial degree
◆ size()
template<std::size_t DIM, typename X , std::size_t N>
Gets the number of elements in the mesh underlying the space.
◆ WriteVariable()
template<std::size_t DIM, typename X , std::size_t N>
Writes the polynomial degree vector to the specified data file.
- Parameters
-
writer | Writer for data file to write to |
name | The name to use for the output variable |
Implements ptems::WritableVariable< DIM >.
The documentation for this struct was generated from the following file: