|
Hermes2D
3.0
|
#include <asmlist.h>
Public Member Functions | |
| AsmList () | |
| Constructor. | |
| AsmList (const AsmList< Scalar > &other) | |
| Copy constructor. | |
| int * | get_idx () |
| int * | get_dof () |
| Scalar * | get_coef () |
| unsigned int | get_cnt () |
| void | add_triplet (int i, int d, Scalar c) |
| Adds a record for one basis function (shape functions index, basis functions index, coefficient). | |
Public Attributes | |
| int | idx [H2D_MAX_LOCAL_BASIS_SIZE] |
| array of shape function indices | |
| int | dof [H2D_MAX_LOCAL_BASIS_SIZE] |
| array of basis function numbers (DOFs) | |
| Scalar | coef [H2D_MAX_LOCAL_BASIS_SIZE] |
| array of coefficients | |
| unsigned short | cnt |
| the number of items in the arrays idx, dof and coef | |
AsmList is a simple container for the element assembly arrays idx, dof and coef. These arrays are filled by Space::get_element_assembly_list() and used by the assembling procedure and the Solution class. The arrays are allocated and deallocated automatically by the class. The class provides a list of triples (idx, dof, coef). The triples are flattened to separate arrays of length 'cnt'.