Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
CopyData Class Reference

#include <copy_data.h>

Public Member Functions

 CopyData (const unsigned int n_dofs)
void reset ()

Public Attributes

FullMatrix< double > local_matrix
Vector< double > local_rhs
std::vector< types::global_dof_index > local_dof_indices
bool cell_is_local

Detailed Description

Class responsible for storing the information calculated using the assembly of regular (meaning non-stabilized) equations. It is also used to initialize, zero (reset) and store the cell_matrix, the cell_rhs and the dof indices associated with the dofs of the cell.

Definition at line 22 of file copy_data.h.

Constructor & Destructor Documentation

◆ CopyData()

CopyData::CopyData ( const unsigned int n_dofs)
inline

Constructor. Allocates the memory for the cell_matrix, cell_rhs and the local_dof_indices.

Parameters
n_dofsNumber of degrees of freedom per cell in the problem

Definition at line 30 of file copy_data.h.

References local_dof_indices, local_matrix, and local_rhs.

Member Function Documentation

◆ reset()

void CopyData::reset ( )
inline

Resets the cell_matrix and the cell_rhs to zero.

Definition at line 39 of file copy_data.h.

References local_matrix, and local_rhs.

Member Data Documentation

◆ cell_is_local

bool CopyData::cell_is_local

Definition at line 52 of file copy_data.h.

◆ local_dof_indices

std::vector<types::global_dof_index> CopyData::local_dof_indices

Definition at line 47 of file copy_data.h.

◆ local_matrix

FullMatrix<double> CopyData::local_matrix

Definition at line 45 of file copy_data.h.

◆ local_rhs

Vector<double> CopyData::local_rhs

Definition at line 46 of file copy_data.h.


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