|
Smith
0.1
Smith is an implicit thermal structural mechanics simulation code.
|
#include <element_restriction.hpp>
Public Member Functions | |
| ElementRestriction () | |
| default ctor leaves this object uninitialized | |
| ElementRestriction (const fes_t *fes, mfem::Geometry::Type elem_geom, const std::vector< int > &domain_elements) | |
| ctor from a list of elements (e.g. from a smith::Domain) | |
| uint64_t | ESize () const |
| the size of the "E-vector" associated with this restriction operator | |
| uint64_t | LSize () const |
| the size of the "L-vector" associated with this restriction operator | |
| void | GetElementVDofs (int i, std::vector< DoF > &dofs) const |
Get a list of DoFs for element i More... | |
| DoF | GetVDof (DoF node, uint64_t component) const |
| get the dof information for a given node / component | |
| void | Gather (const mfem::Vector &L_vector, mfem::Vector &E_vector) const |
| "L->E" in mfem parlance, each element gathers the values that belong to it, and stores them in the "E-vector" | |
| void | ScatterAdd (const mfem::Vector &E_vector, mfem::Vector &L_vector) const |
| "E->L" in mfem parlance, each element scatter-adds its local vector into the appropriate place in the "L-vector" | |
Public Attributes | |
| uint64_t | esize |
| the size of the "E-vector" | |
| uint64_t | lsize |
| the size of the "L-vector" | |
| uint64_t | components |
| the number of components at each node | |
| uint64_t | num_nodes |
| the total number of nodes in the mesh | |
| uint64_t | num_elements |
| the number of elements of the given geometry | |
| uint64_t | nodes_per_elem |
| the number of nodes in each element | |
| axom::Array< DoF, 2, smith::detail::host_memory_space > | dof_info |
| a 2D array (num_elements-by-nodes_per_elem) holding the dof info extracted from the finite element space | |
| mfem::Ordering::Type | ordering |
| whether the underlying dofs are arranged "byNodes" or "byVDim" | |
a more complete version of mfem::ElementRestriction that works with {H1, Hcurl, L2} spaces (including on the boundary)
Definition at line 160 of file element_restriction.hpp.
| void smith::ElementRestriction::GetElementVDofs | ( | int | i, |
| std::vector< DoF > & | dofs | ||
| ) | const |
Get a list of DoFs for element i
| i | the index of the element |
| dofs | (output) the DoFs associated with element i |
Definition at line 680 of file element_restriction.cpp.