NeoPZ
Functions | Variables
main.cpp File Reference
#include "pzvec.h"
#include "pzstack.h"
#include "pzfmatrix.h"
#include "pzfstrmatrix.h"
#include "pzlog.h"
#include "pzgmesh.h"
#include "pzcmesh.h"
#include "pzcompel.h"
#include "TPZInterfaceEl.h"
#include "pzgeoelside.h"
#include "TPZGeoLinear.h"
#include "pzgeopoint.h"
#include "TPZRefPattern.h"
#include "tpzgeoelrefpattern.h"
#include "tpzcompmeshreferred.h"
#include "tpzautopointer.h"
#include "pzbndcond.h"
#include "pzanalysis.h"
#include "TPZParSkylineStructMatrix.h"
#include "pzstepsolver.h"
#include "pzstrmatrix.h"
#include "TPZFrontNonSym.h"
#include "TPZFrontSym.h"
#include "TPBSpStructMatrix.h"
#include "TPZSpStructMatrix.h"
#include "pzbstrmatrix.h"
#include "pzpoisson3d.h"
#include "pzhybridpoisson.h"
#include "pzpoisson3dreferred.h"
#include "pzelasmat.h"
#include "pzelasthybrid.h"
#include "pzbuildmultiphysicsmesh.h"
#include "pzelementgroup.h"
#include "pzcondensedcompel.h"
#include "TPZVTKGeoMesh.h"
#include <iostream>
#include <string>
#include <math.h>
#include <set>
#include "run_stats_table.h"
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

TPZGeoMeshMalhaGeom (int NRefUnif, REAL Lx, REAL Ly)
 
TPZCompMeshMalhaComp (TPZGeoMesh *gmesh, int pOrder)
 
void Forcing (const TPZVec< REAL > &pt, TPZVec< STATE > &disp)
 
void SolExata (const TPZVec< REAL > &pt, TPZVec< STATE > &disp, TPZFMatrix< STATE > &flux)
 
void PosProcessSol (TPZAnalysis &an, std::string plotfile)
 
void BuildElementGroups (TPZCompMesh *cmesh, int materialid, int interfacemat, int lagrangemat)
 
void ResetMesh (TPZCompMesh *cmesh)
 
int main (int argc, char *argv[])
 

Variables

RunStatsTable total_rdt ("-tot_rdt","Statistics for the whole application")
 
RunStatsTable cond_rdt ("-cond_rdt","Statistics for the static condensation step")
 
RunStatsTable cond_ass_rdt ("-cond_ass_rdt","Statistics for the assemble step during static condensation")
 
clarg::argBool help ("-h", "display the help message")
 
clarg::argBool cond_f ("-cond", "perform static condensation")
 
clarg::argInt p_order ("-p", "polynomial order", 1)
 
clarg::argInt n_uref ("-nuref", "Number of uniform refinements", 1)
 
clarg::argInt n_threads ("-nthreads", "Number of threads", 1)
 
const int matInterno
 
const int lagrangemat
 
const int interfacemat
 
const int dirichlet
 
const int bc1
 
const int bc2
 
const int bc3
 
const int bc4
 
REAL const Pi
 

Function Documentation

◆ BuildElementGroups()

void BuildElementGroups ( TPZCompMesh cmesh,
int  materialid,
int  interfacemat,
int  lagrangemat 
)

◆ Forcing()

void Forcing ( const TPZVec< REAL > &  pt,
TPZVec< STATE > &  disp 
)

Definition at line 508 of file main.cpp.

References sin.

Referenced by MalhaComp().

◆ main()

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

◆ MalhaComp()

TPZCompMesh * MalhaComp ( TPZGeoMesh gmesh,
int  pOrder 
)

◆ MalhaGeom()

TPZGeoMesh * MalhaGeom ( int  NRefUnif,
REAL  Lx,
REAL  Ly 
)

◆ PosProcessSol()

void PosProcessSol ( TPZAnalysis an,
std::string  plotfile 
)

Definition at line 528 of file main.cpp.

References TPZAnalysis::DefineGraphMesh(), TPZAnalysis::PostProcess(), and TPZAnalysis::Print().

Referenced by main().

◆ ResetMesh()

void ResetMesh ( TPZCompMesh cmesh)

◆ SolExata()

void SolExata ( const TPZVec< REAL > &  pt,
TPZVec< STATE > &  disp,
TPZFMatrix< STATE > &  flux 
)

Definition at line 514 of file main.cpp.

References cos(), TPZVec< T >::Resize(), TPZFMatrix< TVar >::Resize(), and sin.

Referenced by MalhaComp().

Variable Documentation

◆ bc1

const int bc1

◆ bc2

const int bc2

◆ bc3

const int bc3

◆ bc4

const int bc4

◆ cond_ass_rdt

RunStatsTable cond_ass_rdt("-cond_ass_rdt","Statistics for the assemble step during static condensation")

Referenced by main().

◆ cond_f

clarg::argBool cond_f("-cond", "perform static condensation")

◆ cond_rdt

RunStatsTable cond_rdt("-cond_rdt","Statistics for the static condensation step")

Referenced by main().

◆ dirichlet

const int dirichlet

Definition at line 82 of file main.cpp.

◆ help

clarg::argBool help("-h", "display the help message")

Referenced by main().

◆ interfacemat

const int interfacemat

Definition at line 80 of file main.cpp.

◆ lagrangemat

const int lagrangemat

Definition at line 79 of file main.cpp.

◆ matInterno

const int matInterno

Definition at line 78 of file main.cpp.

Referenced by MalhaGeom().

◆ n_threads

clarg::argInt n_threads("-nthreads", "Number of threads", 1)

Referenced by main().

◆ n_uref

clarg::argInt n_uref("-nuref", "Number of uniform refinements", 1)

Referenced by main().

◆ p_order

clarg::argInt p_order("-p", "polynomial order", 1)

Referenced by main().

◆ Pi

REAL const Pi

Definition at line 91 of file main.cpp.

Referenced by TPZAnalyticSolution::~TPZAnalyticSolution().

◆ total_rdt

RunStatsTable total_rdt("-tot_rdt","Statistics for the whole application")

Referenced by main().