Hermes2D
2.0
|
#include <mixins2d.h>
Public Member Functions | |
MatrixRhsOutput () | |
void | output_matrix (int firstIterations=-1) |
void | set_print_zero_matrix_entries (bool to_set) |
Sets this instance to output matrix entries even though they are zero or not. | |
void | set_matrix_filename (std::string name) |
void | set_matrix_varname (std::string name) |
void | set_matrix_E_matrix_dump_format (EMatrixDumpFormat format) |
void | set_matrix_number_format (char *number_format) |
void | output_rhs (int firstIterations=-1) |
void | set_rhs_filename (std::string name) |
void | set_rhs_varname (std::string name) |
void | set_rhs_E_matrix_dump_format (EMatrixDumpFormat format) |
void | set_rhs_number_format (char *number_format) |
Mixin that interfaces linear algebra structures output.
Definition at line 74 of file mixins2d.h.
Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::MatrixRhsOutput | ( | ) |
Constructor. Sets defaults (see individual set methods for values of those).
Definition at line 49 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::output_matrix | ( | int | firstIterations = -1 | ) |
Sets this instance to output the matrix in several first iterations.
[in] | firstIterations | Only during so many first iterations. Default: -1 meaning, that during all iterations, the matrix will be saved. |
Definition at line 55 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::output_rhs | ( | int | firstIterations = -1 | ) |
Sets this instance to output the rhs in several first iterations.
[in] | firstIterations | Only during so many first iterations. Default: -1 meaning, that during all iterations, the rhs will be saved. |
Definition at line 89 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_matrix_E_matrix_dump_format | ( | EMatrixDumpFormat | format | ) |
Sets varname for the matrix Default: "DF_MATLAB_SPARSE - matlab file".
Definition at line 78 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_matrix_filename | ( | std::string | name | ) |
Sets filename for the matrix Default: Matrix_'iteration number' with the ".m" extension in the case of matlab format.
[in] | name | sets the main part of the name, i.e. replacement for "Matrix_" in the default name. |
Definition at line 61 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_matrix_number_format | ( | char * | number_format | ) |
Sets number format for the matrix output. Default: "%lf".
Definition at line 83 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_matrix_varname | ( | std::string | name | ) |
Sets varname for the matrix Default: "A".
Definition at line 73 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_rhs_E_matrix_dump_format | ( | EMatrixDumpFormat | format | ) |
Sets varname for the rhs Default: "DF_MATLAB_SPARSE - matlab file".
Definition at line 105 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_rhs_filename | ( | std::string | name | ) |
Sets filename for the rhs Default: Rhs_'iteration number' with the ".m" extension in the case of matlab format.
[in] | name | sets the main part of the name, i.e. replacement for "Rhs_" in the default name. |
Definition at line 95 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_rhs_number_format | ( | char * | number_format | ) |
Sets number format for the vector output. Default: "%lf".
Definition at line 110 of file mixins2d.cpp.
void Hermes::Hermes2D::Mixins::MatrixRhsOutput< Scalar >::set_rhs_varname | ( | std::string | name | ) |
Sets varname for the rhs Default: "b".
Definition at line 100 of file mixins2d.cpp.