#include <discrete_space.hh>
Implementation of DiscreteSpace when all elements have the same FiniteElement.
Definition at line 92 of file discrete_space.hh.
◆ EqualOrderDiscreteSpace()
◆ _init_n_dofs()
template<IntDim dim>
void EqualOrderDiscreteSpace::_init_n_dofs |
( |
| ) |
|
|
inlineprivate |
◆ fe()
Return Mixed of finite element objects.
TODO: The function should be in foem fe(const ElementAccessor<3> &). But we do not in fact depend on the element accessor now. This is temporary solution, which would work only if its type is EqualOrderDiscreteSpace. Otherwise, the general way would require a new "element FE handler" that would manage FEValues for all FE types within a given DiscreteSpace.
Implements DiscreteSpace.
Definition at line 23 of file discrete_space.cc.
◆ n_edge_dofs()
unsigned int EqualOrderDiscreteSpace::n_edge_dofs |
( |
const Edge & |
edge | ) |
const |
|
inlineoverridevirtual |
◆ n_elem_dofs()
unsigned int EqualOrderDiscreteSpace::n_elem_dofs |
( |
const ElementAccessor< 3 > & |
cell | ) |
const |
|
inlineoverridevirtual |
◆ n_node_dofs()
unsigned int EqualOrderDiscreteSpace::n_node_dofs |
( |
unsigned int |
nid | ) |
const |
|
inlineoverridevirtual |
Number of dofs associated to node. nid
is the node index in the mesh duplicate_nodes object.
Implements DiscreteSpace.
Definition at line 112 of file discrete_space.hh.
◆ _n_edge_dofs
std::vector<unsigned int> EqualOrderDiscreteSpace::_n_edge_dofs |
|
private |
◆ _n_elem_dofs
std::vector<unsigned int> EqualOrderDiscreteSpace::_n_elem_dofs |
|
private |
◆ _n_node_dofs
std::vector<unsigned int> EqualOrderDiscreteSpace::_n_node_dofs |
|
private |
◆ fe_
The documentation for this class was generated from the following files: