![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <copy_data.h>
Public Member Functions | |
| StabilizedMethodsTensorCopyData (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 |
| std::vector< Tensor< 1, dim > > | strong_residual |
| std::vector< std::vector< Tensor< 1, dim > > > | strong_jacobian |
| bool | cell_is_local |
| bool | cell_is_cut |
Class responsible for storing the information calculated using the assembly of stabilized Tensor<1,dim> 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 Tensor<1,dim> equations because the strong jacobian is stored using a Tensor<1,dim>.
Definition at line 165 of file copy_data.h.
|
inline |
Constructor. Allocates the memory for the cell_matrix and cell_rhs 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 177 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 190 of file copy_data.h.
References local_matrix, local_rhs, strong_jacobian, and strong_residual.
| bool StabilizedMethodsTensorCopyData< dim >::cell_is_cut |
Definition at line 215 of file copy_data.h.
| bool StabilizedMethodsTensorCopyData< dim >::cell_is_local |
Definition at line 214 of file copy_data.h.
| std::vector<types::global_dof_index> StabilizedMethodsTensorCopyData< dim >::local_dof_indices |
Definition at line 206 of file copy_data.h.
| FullMatrix<double> StabilizedMethodsTensorCopyData< dim >::local_matrix |
Definition at line 204 of file copy_data.h.
| Vector<double> StabilizedMethodsTensorCopyData< dim >::local_rhs |
Definition at line 205 of file copy_data.h.
| std::vector<std::vector<Tensor<1, dim> > > StabilizedMethodsTensorCopyData< dim >::strong_jacobian |
Definition at line 208 of file copy_data.h.
| std::vector<Tensor<1, dim> > StabilizedMethodsTensorCopyData< dim >::strong_residual |
Definition at line 207 of file copy_data.h.