NeoPZ
Classes | Macros | Functions | Variables
skyline.cpp File Reference

Tests for Decompose_Cholesky, Decompose_LDLt and MultAdd with Skyline Matrices. More...

#include <iostream>
#include <cstdlib>
#include "pzbfilestream.h"
#include "pzmd5stream.h"
#include "tpzdohrsubstruct.h"
#include "tpzdohrmatrix.h"
#include "tpzdohrprecond.h"
#include "pzdohrstructmatrix.h"
#include "pzstepsolver.h"
#include "pzcompel.h"
#include "pzgeoelbc.h"
#include "pzelast3d.h"
#include "pzbndcond.h"
#include "tpzdohrassembly.h"
#include "pzlog.h"
#include "tpzgensubstruct.h"
#include "tpzpairstructmatrix.h"
#include "pzviscoelastic.h"
#include "TPZTimer.h"
#include "TPZVTKGeoMesh.h"
#include "pzgeotetrahedra.h"
#include "pzskylstrmatrix.h"
#include "pzskylmat.h"
#include "tpzarc3d.h"
#include "pzvtkmesh.h"
#include <fstream>
#include <string>
#include "arglib.h"
#include "run_stats_table.h"
#include <sched.h>
Include dependency graph for skyline.cpp:

Go to the source code of this file.

Classes

class  FileStreamWrapper
 

Macros

#define VERBOSE(level, ...)
 

Functions

void InsertElasticityCubo (TPZAutoPointer< TPZCompMesh > mesh)
 
TPZGeoMeshMalhaCubo (string FileName)
 
void SetPointBC (TPZGeoMesh *gr, TPZVec< REAL > &x, int bc)
 Generate a boundary geometric element at the indicated node. More...
 
void CopyTo (TPZSkylMatrix< REAL > *skylmat, TPZSkylMatrix< TPZFlopCounter > &fp_counter)
 
void PrintInfo (string funct, TPZCounter info)
 
void help (const char *prg)
 
int main (int argc, char *argv[])
 

Variables

clarg::argBool h ("-h", "help message", false)
 
clarg::argBool print_flops ("-pf", "print floating point operations", false)
 
clarg::argInt verb_level ("-v", "verbosity level", 0)
 
int verbose
 
clarg::argInt porder ("-porder", "polinomial order", 1)
 
clarg::argString input ("-if", "input file", "cube1.txt")
 
RunStatsTable clk_rst ("-clk_rdt", "Decompose_Cholesky() statistics raw data table")
 
RunStatsTable ldlt_rst ("-ldlt_rdt", "Decompose_LDLt() statistics raw data table")
 
RunStatsTable sfwd_rst ("-sfwd_rdt", "Subst_Forward(...) statistics raw data table")
 
RunStatsTable sbck_rst ("-sbck_rdt", "Subst_Backward(...) statistics raw data table")
 
RunStatsTable mult_rst ("-mult_rdt", "MultAdd(...) statistics raw data table")
 
RunStatsTable sor_rst ("-sor_rdt", "SolveSOR(...) statistics raw data table")
 

Detailed Description

Tests for Decompose_Cholesky, Decompose_LDLt and MultAdd with Skyline Matrices.

Author
Julia Ramos Beltrao
Since
2013

Definition in file skyline.cpp.

Macro Definition Documentation

◆ VERBOSE

#define VERBOSE (   level,
  ... 
)

Definition at line 100 of file skyline.cpp.

Function Documentation

◆ CopyTo()

void CopyTo ( TPZSkylMatrix< REAL > *  skylmat,
TPZSkylMatrix< TPZFlopCounter > &  fp_counter 
)

◆ help()

void help ( const char *  prg)

Definition at line 84 of file skyline.cpp.

References clarg::arguments_descriptions(), h, print_flops, and verb_level.

Referenced by main().

◆ InsertElasticityCubo()

void InsertElasticityCubo ( TPZAutoPointer< TPZCompMesh mesh)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ MalhaCubo()

TPZGeoMesh * MalhaCubo ( string  FileName)

◆ PrintInfo()

void PrintInfo ( string  funct,
TPZCounter  info 
)

Definition at line 641 of file skyline.cpp.

References TPZCounter::Print().

Referenced by main().

◆ SetPointBC()

void SetPointBC ( TPZGeoMesh gr,
TPZVec< REAL > &  x,
int  bc 
)

Generate a boundary geometric element at the indicated node.

Definition at line 600 of file skyline.cpp.

References TPZGeoMesh::ElementVec(), TPZGeoMesh::FindNode(), gn, TPZGeoEl::NCornerNodes(), TPZChunkVector< T, EXP >::NElements(), and TPZGeoEl::NodePtr().

Referenced by MalhaCubo().

Variable Documentation

◆ clk_rst

RunStatsTable clk_rst("-clk_rdt", "Decompose_Cholesky() statistics raw data table")

Uncoment for parsing matrix from input Uncoment for md5 checking of resulting matrix Uncoment for dumping resulting matrix

Referenced by main().

◆ h

clarg::argBool h("-h", "help message", false)

Referenced by help().

◆ input

clarg::argString input("-if", "input file", "cube1.txt")

◆ ldlt_rst

RunStatsTable ldlt_rst("-ldlt_rdt", "Decompose_LDLt() statistics raw data table")

Referenced by main().

◆ mult_rst

RunStatsTable mult_rst("-mult_rdt", "MultAdd(...) statistics raw data table")

Referenced by main().

◆ porder

clarg::argInt porder("-porder", "polinomial order", 1)

◆ print_flops

clarg::argBool print_flops("-pf", "print floating point operations", false)

Referenced by help().

◆ sbck_rst

RunStatsTable sbck_rst("-sbck_rdt", "Subst_Backward(...) statistics raw data table")

Referenced by main().

◆ sfwd_rst

RunStatsTable sfwd_rst("-sfwd_rdt", "Subst_Forward(...) statistics raw data table")

Referenced by main().

◆ sor_rst

RunStatsTable sor_rst("-sor_rdt", "SolveSOR(...) statistics raw data table")

Referenced by main().

◆ verb_level

clarg::argInt verb_level("-v", "verbosity level", 0)

Referenced by help().

◆ verbose

int verbose

Definition at line 98 of file skyline.cpp.