![]() |
NeoPZ
|
Tests for decompose_ldlt. More...
#include <iostream>#include <cstdlib>#include "pzbfilestream.h"#include "pzmd5stream.h"#include <fstream>#include <string>#include "pzlog.h"#include "pzskylmat.h"#include "arglib.h"#include "run_stats_table.h"#include <sched.h>Go to the source code of this file.
Classes | |
| class | FileStreamWrapper |
Macros | |
| #define | VERBOSE(level, ...) |
Functions | |
| void | help (const char *prg) |
| int | main (int argc, char *argv[]) |
Variables | |
| clarg::argString | ifn ("-ifn", "input matrix file name (use -bi to read from binary files)", "matrix.txt") |
| clarg::argInt | affinity ("-af", "affinity mode (0=no affinity, 1=heuristi 1)", 0) |
| clarg::argInt | verb_level ("-v", "verbosity level", 0) |
| int | verbose |
| clarg::argInt | mop ("-op", "Matrix operation", 1) |
| clarg::argBool | br ("-br", "binary reference. Reference decomposed matrix file format == binary.", false) |
| clarg::argBool | bi ("-bi", "binary input. Input file format == binary.", false) |
| clarg::argBool | bd ("-bd", "binary dump. Dump file format == binary.", false) |
| clarg::argBool | h ("-h", "help message", false) |
| clarg::argBool | rea ("-rea", "reallocate matrix inside matrix.", false) |
| clarg::argInt | mstats ("-mstats", "Matrix statistics vebosity level.", 0) |
| clarg::argInt | maxcol ("-maxcol", "Limit computation to max column (Use Resize(maxcol)).", 0) |
| clarg::argString | gen_dm_sig ("-gen_dm_md5", "generates MD5 signature for decomposed matrix into file.", "decomposed_matrix.md5") |
| clarg::argString | chk_dm_sig ("-chk_dm_md5", "compute MD5 signature for decomposed matrix and check against MD5 at file.", "decomposed_matrix.md5") |
| clarg::argString | chk_dm_error ("-chk_dm_error", "check the decomposed matrix error against a reference matrix. (use -br to read from binary files)", "ref_decomposed_matrix.txt") |
| clarg::argDouble | error_tol ("-error_tol", "error tolerance.", 1.e-12) |
| clarg::argString | dump_dm ("-dump_dm", "dump decomposed matrix. (use -bd for binary format)", "dump_matrix.txt") |
| clarg::argInt | cholesky_blk ("-chol_blk", "Cholesky blocking factor", 256) |
| RunStatsTable | total_rst ("-tot_rdt", "Whole program (total) statistics raw data table") |
| clarg::argInt | nmats ("-nmats", "Number of matrizes to decompose simultaneously.", 1) |
| std::vector< TPZAutoPointer< TPZSkylMatrix< REAL > > > | matrices |
| #define VERBOSE | ( | level, | |
| ... | |||
| ) |
Definition at line 69 of file decompose.cpp.
Referenced by main().
| void help | ( | const char * | prg | ) |
Definition at line 51 of file decompose.cpp.
References affinity, clarg::arguments_descriptions(), ifn, and verb_level.
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Dump decomposed matrix
Check decomposed matrix
Definition at line 314 of file decompose.cpp.
References abs(), bd, bi, br, TPZMD5Stream::CheckMD5(), chk_dm_error, chk_dm_sig, TPZMatrix< TVar >::Cols(), compute_decompose(), TPZMatrix< TVar >::Dim(), dump_dm, error_tol, gen_dm_sig, clarg::argT< T >::get_value(), h, help(), matrix, maxcol, mp, mstats, naa, nmats, nthreads, FileStreamWrapper::OpenRead(), FileStreamWrapper::OpenWrite(), clarg::parse_arguments(), PZ_PTHREAD_CREATE, PZ_PTHREAD_JOIN, TPZSkylMatrix< TVar >::Read(), TPZSkylMatrix< TVar >::Resize(), TPZSkylMatrix< TVar >::s(), setup_masks(), TPZSkylMatrix< TVar >::SkyHeight(), RunStatsTable::start(), RunStatsTable::stop(), test::threads, total_rst, clarg::values(), VERBOSE, clarg::arg_base::was_set(), TPZSkylMatrix< TVar >::Write(), and TPZMD5Stream::WriteMD5().
| clarg::argInt affinity("-af", "affinity mode (0=no affinity, 1=heuristi 1)", 0) |
Referenced by help().
| clarg::argBool bd("-bd", "binary dump. Dump file format == binary.", false) |
Referenced by TPZMGAnalysis::AppendMesh(), and main().
| clarg::argBool bi("-bi", "binary input. Input file format == binary.", false) |
Referenced by main().
| clarg::argBool br("-br", "binary reference. Reference decomposed matrix file format == binary.", false) |
Referenced by main().
| clarg::argString chk_dm_error("-chk_dm_error", "check the decomposed matrix error against a reference matrix. (use -br to read from binary files)", "ref_decomposed_matrix.txt") |
Referenced by main().
| clarg::argString chk_dm_sig("-chk_dm_md5", "compute MD5 signature for decomposed matrix and check against MD5 at file.", "decomposed_matrix.md5") |
Referenced by main().
| clarg::argInt cholesky_blk("-chol_blk", "Cholesky blocking factor", 256) |
| clarg::argString dump_dm("-dump_dm", "dump decomposed matrix. (use -bd for binary format)", "dump_matrix.txt") |
Referenced by main().
| clarg::argDouble error_tol("-error_tol", "error tolerance.", 1.e-12) |
Referenced by main().
| clarg::argString gen_dm_sig("-gen_dm_md5", "generates MD5 signature for decomposed matrix into file.", "decomposed_matrix.md5") |
Referenced by main().
| clarg::argBool h("-h", "help message", false) |
Referenced by Adapt::adaptlob(), TPZLadeKimThermoForceA::CheckConv(), TPZLinearConvecDiff::Contribute(), TPZLadeKim::DenseSacrRiverSand(), DruckerBiaxialTest(), DruckerIsotropicCompression(), TPZLadeKim::FineSilicaSand(), TPZLadeKim::FineSilicaSandPaperIII(), fmix32(), TPZAnalysisError::h_Parameter(), Adapt::integrate(), TEulerDiffusivity::InverseJacob(), LKBiaxialTest(), TPZLadeKim::LooseSacrRiverSand(), TPZLadeKim::LooseSantaMonicaBeachSand(), main(), TPZAnalysisError::MathematicaPlot(), TPZRefPatternTools::NodesHunter(), TPZLadeKim::PlainConcrete(), TPZLadeKim::PlainConcreteMPa(), TPZYCSandlerDimaggioL2::Print(), TPZYCSandlerDimaggioL::Print(), TPZCutHillMcKee::SGraph::PseudoPeripheralNodes(), TPZYCLadeKim::SetForceYield(), CSVTableColumn< T >::setHeader(), TPZYCMohrCoulomb::SetUp(), TPZLadeKimThermoForceA::SetUp(), TPZYCModifiedMohrCoulomb::SetUp(), TPZYCLadeKim::SetUp(), TPZYCRankine< T_YCBASE >::SetUpRankine(), TPZYCVonMises::SetYieldStatusMode(), TPZYCWillamWarnke::SetYieldStatusMode(), TPZYCDruckerPrager::SetYieldStatusMode(), TPZYCSandlerDimaggio::SetYieldStatusMode(), pzshape::TPZShapePrism::ShapeGenerating(), pzshape::TPZShapeCube::ShapeGenerating(), TPZMultPlaca::Solution(), TPZYCSandlerDimaggio::TestSolveL(), Update(), and Adapt::Vintegrate().
| clarg::argString ifn("-ifn", "input matrix file name (use -bi to read from binary files)", "matrix.txt") |
Referenced by help().
| std::vector< TPZAutoPointer<TPZSkylMatrix<REAL> > > matrices |
Definition at line 141 of file decompose.cpp.
| clarg::argInt maxcol("-maxcol", "Limit computation to max column (Use Resize(maxcol)).", 0) |
Referenced by main().
| clarg::argInt mop("-op", "Matrix operation", 1) |
| clarg::argInt mstats("-mstats", "Matrix statistics vebosity level.", 0) |
Referenced by main().
| clarg::argInt nmats("-nmats", "Number of matrizes to decompose simultaneously.", 1) |
Referenced by main().
| clarg::argBool rea("-rea", "reallocate matrix inside matrix.", false) |
| RunStatsTable total_rst("-tot_rdt", "Whole program (total) statistics raw data table") |
Referenced by main().
| clarg::argInt verb_level("-v", "verbosity level", 0) |
Referenced by help().
| int verbose |
Definition at line 67 of file decompose.cpp.
Referenced by main(), and TPZCompElDisc::PRefine().
1.8.13