34 void scalar_nodal_soln(
const Elem * elem,
36 const std::vector<Number> & elem_soln,
37 std::vector<Number> & nodal_soln)
39 const unsigned int n_nodes = elem->n_nodes();
44 for (
unsigned int i=0; i<
n_nodes; i++)
45 nodal_soln[i] = (order ==
CONSTANT) ? 0. : elem_soln[0];
60 const std::vector<Number> & elem_soln,
61 std::vector<Number> & nodal_soln)
62 { scalar_nodal_soln(elem, order, elem_soln, nodal_soln); }
67 const std::vector<Number> & elem_soln,
68 std::vector<Number> & nodal_soln)
69 { scalar_nodal_soln(elem, order, elem_soln, nodal_soln); }
74 const std::vector<Number> & elem_soln,
75 std::vector<Number> & nodal_soln)
76 { scalar_nodal_soln(elem, order, elem_soln, nodal_soln); }
81 const std::vector<Number> & elem_soln,
82 std::vector<Number> & nodal_soln)
83 { scalar_nodal_soln(elem, order, elem_soln, nodal_soln); }
119 #ifdef LIBMESH_ENABLE_AMR 134 #endif // #ifdef LIBMESH_ENABLE_AMR static unsigned int n_dofs(const ElemType t, const Order o)
The base class for all geometric element types.
static unsigned int n_dofs_at_node(const ElemType t, const Order o, const unsigned int n)
virtual bool shapes_need_reinit() const override
virtual bool is_hierarchic() const override
Manages the degrees of freedom (DOFs) in a simulation.
const dof_id_type n_nodes
static unsigned int n_dofs_per_elem(const ElemType t, const Order o)
virtual FEContinuity get_continuity() const override
static void compute_constraints(DofConstraints &constraints, DofMap &dof_map, const unsigned int variable_number, const Elem *elem)
static void nodal_soln(const Elem *elem, const Order o, const std::vector< Number > &elem_soln, std::vector< Number > &nodal_soln)