AsmList Class Reference
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'.
More...
#include <asmlist.h>
List of all members.
Public Member Functions |
| | AsmList () |
| | ~AsmList () |
| void | clear () |
| void | add_triplet (int i, int d, scalar c) |
Public Attributes |
| int * | idx |
| | array of shape function indices
|
| int * | dof |
| | array of basis function numbers (DOFs)
|
| scalar * | coef |
| | array of coefficients
|
| int | cnt |
| | the number of items in the arrays idx, dof and coef
|
| int | cap |
| | internal
|
Protected Member Functions |
| void | enlarge () |
Detailed Description
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'.
Constructor & Destructor Documentation
| AsmList::AsmList |
( |
|
) |
[inline] |
| AsmList::~AsmList |
( |
|
) |
[inline] |
Member Function Documentation
| void AsmList::add_triplet |
( |
int |
i, |
|
|
int |
d, |
|
|
scalar |
c | |
|
) |
| | [inline] |
| void AsmList::clear |
( |
|
) |
[inline] |
| void AsmList::enlarge |
( |
|
) |
[protected] |
Member Data Documentation
the number of items in the arrays idx, dof and coef
array of basis function numbers (DOFs)
array of shape function indices
The documentation for this class was generated from the following files: