Loading...
Searching...
No Matches
debug_sparse_assembly.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  terra
 
namespace  terra::linalg
 Contains linear algebra utilities and functions for the Terra project.
 
namespace  terra::linalg::util
 

Functions

template<typename ScalarType >
Eigen::SparseVector< ScalarType > terra::linalg::util::debug_sparse_assembly_vector_vec_q1_scalar (const VectorQ1Scalar< double > &vec)
 Assembles a VectorQ1Scalar into a Eigen::SparseVector. Likely not efficient - only use for debugging.
 
template<OperatorLike Operator>
Eigen::SparseMatrix< double > terra::linalg::util::debug_sparse_assembly_operator_vec_q1_scalar (const grid::shell::DistributedDomain &domain_src, Operator &A, VectorQ1Scalar< double > &tmp_src, VectorQ1Scalar< double > &tmp_dst)
 Brute force sparse matrix assembly for debugging purposes.