NeoPZ
TPZTimeTemp.h
Go to the documentation of this file.
1 
7 #ifndef TPZTIMETEMP_H
8 #define TPZTIMETEMP_H
9 
10 #include <string>
11 #include <iostream>
12 #include <fstream>
13 #include "pzstack.h"
14 
20 {
21 public:
22 
24  int fNumEq;
30  int fNumSub;
34  int fniter;
38  int fnPreCond;
42  REAL ft0sub;
44  REAL ft1comput;
56  REAL ft6iter;
57 
62 
64  TPZTimeTemp();
65 
67  void PrintLine(std::ostream &out);
68 
70  void ReadLine(std::istream &in);
71 
73  static void PrintHeader(std::ostream &out);
74 
76  static bool NeedsHeader(std::string &FileName);
77 };
78 
83 extern TPZTimeTemp tempo;
84 
85 #endif
REAL ft4identcorner
Total Time for Identifying Corner Nodes = Convert Graph + AnalyseGraph.
Definition: TPZTimeTemp.h:50
REAL ft3analysegraph
Time for AnalyseGraph.
Definition: TPZTimeTemp.h:48
void ReadLine(std::istream &in)
Read one line of the file.
Definition: TPZTimeTemp.cpp:73
int fNumSub
Number of Substructures.
Definition: TPZTimeTemp.h:30
static void PrintHeader(std::ostream &out)
Print the header.
Definition: TPZTimeTemp.cpp:35
TPZTimeTemp tempo
External variable to TPZTimeTemp (to take time)
Definition: TPZTimeTemp.cpp:11
TPZStack< REAL > fPreCond
Time to PreCond for each iteration.
Definition: TPZTimeTemp.h:61
REAL ft2congraph
Time for Convert Graph.
Definition: TPZTimeTemp.h:46
int fNumberofElements
Number of elements in the mesh.
Definition: TPZTimeTemp.h:40
int fniter
Number of iterations.
Definition: TPZTimeTemp.h:34
int fnMultiply
Number of elements in fMultiply.
Definition: TPZTimeTemp.h:36
static bool NeedsHeader(std::string &FileName)
If the file does not exists, returns "true".
Definition: TPZTimeTemp.cpp:60
REAL ft6iter
Total Time for Iterations.
Definition: TPZTimeTemp.h:56
TPZTimeTemp()
Initialize the attributes.
Definition: TPZTimeTemp.cpp:13
Takes times. (Tomada de tempos). Utility.
Definition: TPZTimeTemp.h:19
int fPolyOrder
Polynomial order.
Definition: TPZTimeTemp.h:28
TPZStack< REAL > fMultiply
Time to Multiply for each iteration.
Definition: TPZTimeTemp.h:59
REAL ft5dohrassembly
Time for ThreadDohrmanAssembly.
Definition: TPZTimeTemp.h:52
A simple stack.
int fNumEq
Number of equations.
Definition: TPZTimeTemp.h:24
REAL ft0sub
Time for Substructuring Mesh.
Definition: TPZTimeTemp.h:42
int fnPreCond
Number of elements in fPreCond.
Definition: TPZTimeTemp.h:38
int fNumEqCoarse
Number of coarse equations.
Definition: TPZTimeTemp.h:32
REAL ft1comput
Time for Computing the system of equations for each substructure.
Definition: TPZTimeTemp.h:44
REAL ft55decompmatriznosinternos
Time to decompose the inner nodes matrix.
Definition: TPZTimeTemp.h:54
int fNumthreads
Number of Threads.
Definition: TPZTimeTemp.h:26
void PrintLine(std::ostream &out)
Append to the file a line with the informations.
Definition: TPZTimeTemp.cpp:41