![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <copy_data.h>
Public Member Functions | |
| StabilizedMethodsCopyData (const unsigned int n_dofs, const unsigned int n_q_points) | |
| void | reset () |
Public Attributes | |
| FullMatrix< double > | local_matrix |
| Vector< double > | local_rhs |
| std::vector< types::global_dof_index > | local_dof_indices |
| Vector< double > | strong_residual |
| std::vector< Vector< double > > | strong_jacobian |
| bool | cell_is_local |
Class responsible for storing the information calculated using the assembly of stabilized scalar equations. Like the CopyData class, this class is used to initialize, zero (reset) and store the cell_matrix and the cell_rhs. Contrary to the regular CopyData class, this class also stores the strong_residual and the strong_jacobian of the equation being assembled. This is useful for equations that implement residual-based stabilization such as SUPG. This class is specialized for single component equations because the strong jacobian is stored using a Vector<double>.
Definition at line 66 of file copy_data.h.
|
inline |
Constructor. Allocates the memory for the cell_matrix, cell_rhs and dof-indices using the number of dofs and the strong_residual using the number of quadrature points and, the strong_jacobian using both.
| n_dofs | Number of degrees of freedom per cell in the problem |
| n_q_points | Number of quadrature points |
Definition at line 78 of file copy_data.h.
References local_dof_indices, local_matrix, local_rhs, strong_jacobian, and strong_residual.
|
inline |
Resets the cell_matrix, cell_rhs, strong_residual and strong_jacobian to zero.
Definition at line 92 of file copy_data.h.
References local_matrix, local_rhs, strong_jacobian, and strong_residual.
| bool StabilizedMethodsCopyData::cell_is_local |
Definition at line 113 of file copy_data.h.
| std::vector<types::global_dof_index> StabilizedMethodsCopyData::local_dof_indices |
Definition at line 106 of file copy_data.h.
| FullMatrix<double> StabilizedMethodsCopyData::local_matrix |
Definition at line 104 of file copy_data.h.
| Vector<double> StabilizedMethodsCopyData::local_rhs |
Definition at line 105 of file copy_data.h.
| std::vector<Vector<double> > StabilizedMethodsCopyData::strong_jacobian |
Definition at line 108 of file copy_data.h.
| Vector<double> StabilizedMethodsCopyData::strong_residual |
Definition at line 107 of file copy_data.h.