4#ifndef lethe_copy_data_h
5#define lethe_copy_data_h
7#include <deal.II/lac/full_matrix.h>
8#include <deal.II/lac/lapack_full_matrix.h>
9#include <deal.II/lac/vector.h>
79 const unsigned int n_q_points)
136 const unsigned int n_q_points)
178 const unsigned int n_q_points)
249 const unsigned int n_dofs_trial_interior,
250 const unsigned int n_dofs_trial_skeleton)
251 :
G_matrix(n_dofs_test, n_dofs_test)
252 ,
B_matrix(n_dofs_test, n_dofs_trial_interior)
257 ,
M1_matrix(n_dofs_trial_interior, n_dofs_trial_interior)
258 ,
M2_matrix(n_dofs_trial_interior, n_dofs_trial_skeleton)
259 ,
M3_matrix(n_dofs_trial_skeleton, n_dofs_trial_skeleton)
260 ,
M4_l(n_dofs_trial_interior)
261 ,
M5_l(n_dofs_trial_skeleton)
262 ,
M1_inverse_M2(n_dofs_trial_interior, n_dofs_trial_skeleton)
264 ,
local_matrix(n_dofs_trial_skeleton, n_dofs_trial_skeleton)
std::vector< types::global_dof_index > local_dof_indices
FullMatrix< double > local_matrix
Vector< double > local_rhs
CopyData(const unsigned int n_dofs)
Constructor. Allocates the memory for the cell_matrix, cell_rhs and the local_dof_indices.
void reset()
Resets the cell_matrix and the cell_rhs to zero.
LAPACKFullMatrix< double > M3_matrix
void reset()
Resets the uncondensed local system to zero. The matrix is also reset since LAPACKFullMatrix keeps t...
FullMatrix< double > local_matrix
LAPACKFullMatrix< double > G_inverse_B_hat
Vector< double > l_vector
Vector< double > local_residual
LAPACKFullMatrix< double > B_hat_matrix
LAPACKFullMatrix< double > M1_matrix
Vector< double > tmp_vector_reconstruction
LAPACKFullMatrix< double > M2_matrix
LAPACKFullMatrix< double > G_inverse_B
Vector< double > local_skeleton_solution
std::vector< types::global_dof_index > local_dof_indices
Vector< double > local_interior_rhs
std::vector< types::global_dof_index > local_dof_indices_trial_interior
Vector< double > local_interior_solution
double local_residual_norm_squared
DPGCopyData(const unsigned int n_dofs_test, const unsigned int n_dofs_trial_interior, const unsigned int n_dofs_trial_skeleton)
Constructor. Allocates the memory of all the local matrices and vectors from the number of degrees of...
LAPACKFullMatrix< double > M1_inverse_M2
LAPACKFullMatrix< double > G_matrix
LAPACKFullMatrix< double > B_matrix
unsigned int active_cell_index
LAPACKFullMatrix< double > tmp_matrix_M2M1M2
Vector< double > local_rhs
std::vector< CopyDataFace > face_data
StabilizedDGMethodsCopyData(const unsigned int n_dofs, const unsigned int n_q_points)
Constructor. Allocates the memory using the base class Constructor.
Vector< double > local_rhs
Vector< double > strong_residual
FullMatrix< double > local_matrix
void reset()
Resets the cell_matrix, cell_rhs, strong_residual and strong_jacobian to zero.
std::vector< Vector< double > > strong_jacobian
StabilizedMethodsCopyData(const unsigned int n_dofs, const unsigned int n_q_points)
Constructor. Allocates the memory for the cell_matrix, cell_rhs and dof-indices using the number of d...
std::vector< types::global_dof_index > local_dof_indices
FullMatrix< double > local_matrix
StabilizedMethodsTensorCopyData(const unsigned int n_dofs, const unsigned int n_q_points)
Constructor. Allocates the memory for the cell_matrix and cell_rhs using the number of dofs and the s...
Vector< double > local_rhs
void reset()
Resets the cell_matrix, cell_rhs, strong_residual and strong_jacobian to zero.
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
Vector< double > face_rhs
FullMatrix< double > face_matrix
std::vector< types::global_dof_index > joint_dof_indices