Hermes2D  3.0
Hermes::Hermes2D::AsmList< Scalar > Class Template Reference

#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
 

Detailed Description

template<typename Scalar>
class Hermes::Hermes2D::AsmList< Scalar >

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'.

Definition at line 33 of file asmlist.h.


The documentation for this class was generated from the following files: