OGS
|
Writes local matrices to disk for debugging purposes.
Definition at line 44 of file MatrixOutput.h.
#include <MatrixOutput.h>
Public Member Functions | |
LocalMatrixOutput () | |
void | operator() (double const t, int const process_id, std::size_t const element_id, std::vector< double > const &local_M_data, std::vector< double > const &local_K_data, std::vector< double > const &local_b_data) |
void | operator() (double const t, int const process_id, std::size_t const element_id, std::vector< double > const &local_b_data, std::vector< double > const &local_Jac_data) |
~LocalMatrixOutput () | |
Private Member Functions | |
bool | isOutputRequested (std::size_t const element_id) const |
Private Attributes | |
std::mutex | mutex_ |
std::ofstream | outputFile_ |
std::function< bool(std::size_t)> | output_element_predicate_ |
ProcessLib::Assembly::LocalMatrixOutput::LocalMatrixOutput | ( | ) |
Definition at line 261 of file MatrixOutput.cpp.
References ProcessLib::Assembly::detail::createLocalMatrixOutputElementPredicate(), DBUG(), OGS_FATAL, output_element_predicate_, outputFile_, and WARN().
|
default |
|
private |
Definition at line 388 of file MatrixOutput.cpp.
References output_element_predicate_.
Referenced by operator()(), and operator()().
void ProcessLib::Assembly::LocalMatrixOutput::operator() | ( | double const | t, |
int const | process_id, | ||
std::size_t const | element_id, | ||
std::vector< double > const & | local_b_data, | ||
std::vector< double > const & | local_Jac_data ) |
Definition at line 354 of file MatrixOutput.cpp.
References DBUG(), isOutputRequested(), mutex_, outputFile_, and MathLib::toVector().
void ProcessLib::Assembly::LocalMatrixOutput::operator() | ( | double const | t, |
int const | process_id, | ||
std::size_t const | element_id, | ||
std::vector< double > const & | local_M_data, | ||
std::vector< double > const & | local_K_data, | ||
std::vector< double > const & | local_b_data ) |
Definition at line 314 of file MatrixOutput.cpp.
References DBUG(), isOutputRequested(), mutex_, outputFile_, and MathLib::toVector().
|
private |
Definition at line 64 of file MatrixOutput.h.
Referenced by operator()(), and operator()().
|
private |
Definition at line 66 of file MatrixOutput.h.
Referenced by LocalMatrixOutput(), and isOutputRequested().
|
private |
Definition at line 65 of file MatrixOutput.h.
Referenced by LocalMatrixOutput(), operator()(), and operator()().