NeoPZ
Public Member Functions | Private Attributes | List of all members
TPZfTime Class Reference

Calculate the Times. Utility. More...

#include <TPZfTime.h>

Public Member Functions

 TPZfTime ()
 Start the timer when the object is created. More...
 
 ~TPZfTime ()
 Default destructor. More...
 
std::string ReturnTimeString ()
 When called, returns the time since the creation of the object in a string. More...
 
double ReturnTimeDouble ()
 When called, returns the time since the creation of the object in a double. More...
 

Private Attributes

struct timeb finicio ffinal
 Initial and final time calculates. More...
 

Detailed Description

Calculate the Times. Utility.

Definition at line 21 of file TPZfTime.h.

Constructor & Destructor Documentation

◆ TPZfTime()

TPZfTime::TPZfTime ( )

Start the timer when the object is created.

Definition at line 11 of file TPZfTime.cpp.

◆ ~TPZfTime()

TPZfTime::~TPZfTime ( )

Default destructor.

Definition at line 16 of file TPZfTime.cpp.

Member Function Documentation

◆ ReturnTimeDouble()

double TPZfTime::ReturnTimeDouble ( )

When called, returns the time since the creation of the object in a double.

Definition at line 35 of file TPZfTime.cpp.

Referenced by TPZDohrStructMatrix::Create(), TPZDohrPrecond< TVar, TSubStruct >::MultAdd(), and TPZDohrMatrix< TVar, TSubStruct >::MultAdd().

◆ ReturnTimeString()

std::string TPZfTime::ReturnTimeString ( )

When called, returns the time since the creation of the object in a string.

Definition at line 20 of file TPZfTime.cpp.

Referenced by TPZGenSubStruct::IdentifyCornerNodes(), main(), and TPZGenSubStruct::SubStructure().

Member Data Documentation

◆ ffinal

struct timeb finicio TPZfTime::ffinal
private

Initial and final time calculates.

Definition at line 39 of file TPZfTime.h.


The documentation for this class was generated from the following files: