Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Public Member Functions | Public Attributes | List of all members
serac::FunctionSpace Struct Reference

a small POD class for tracking function space metadata More...

#include <finite_element.hpp>

Public Member Functions

std::tuple< int, int, int > as_tuple () const
 return the data contained in this struct as a tuple More...
 
bool operator< (FunctionSpace other) const
 defines an ordering over FunctionSpaces, to enable use in containers like std::map
 

Public Attributes

Family family
 either H1, Hcurl, L2
 
int order
 polynomial order
 
int components
 how many values are stored at each node
 

Detailed Description

a small POD class for tracking function space metadata

Definition at line 238 of file finite_element.hpp.

Member Function Documentation

◆ as_tuple()

std::tuple<int, int, int> serac::FunctionSpace::as_tuple ( ) const
inline

return the data contained in this struct as a tuple

Note
the main point of this conversion is to take advantage of std::tuple's automatic lexicographic-ordering comparison operators

Definition at line 248 of file finite_element.hpp.


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