![]() |
NeoPZ
|
#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"Go to the source code of this file.
Functions | |
| TPZGeoMesh * | MalhaGeom (int NRefUnif, REAL Lx, REAL Ly) |
| TPZCompMesh * | MalhaComp (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 |
| void BuildElementGroups | ( | TPZCompMesh * | cmesh, |
| int | materialid, | ||
| int | interfacemat, | ||
| int | lagrangemat | ||
| ) |
Definition at line 405 of file main.cpp.
References TPZCompMesh::CleanUpUnconnectedNodes(), TPZCompMesh::ComputeNodElCon(), cond, DebugStop, TPZGeoEl::Dimension(), TPZCompElSide::Element(), TPZCompMesh::ElementVec(), TPZGeoElSide::EqualLevelCompElementList(), TPZInterfaceElement::LeftElement(), TPZCompMesh::LoadReferences(), LOGPZ_DEBUG, TPZGeoEl::MaterialId(), TPZCompMesh::NElements(), TPZGeoEl::NSides(), TPZCompEl::Reference(), TPZGeoEl::ResetReference(), TPZInterfaceElement::RightElement(), TPZGeoEl::SideDimension(), and TPZVec< T >::size().
Referenced by main().
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |
Definition at line 109 of file main.cpp.
References clarg::arguments_descriptions(), TPZStructMatrixOR::Assemble(), BuildElementGroups(), cond_ass_rdt, cond_rdt, ELDLt, clarg::argT< T >::get_value(), help, InitializePZLOG(), MalhaComp(), MalhaGeom(), n_threads, n_uref, TPZGeoMesh::NElements(), TPZCompMesh::NEquations(), p_order, clarg::parse_arguments(), PosProcessSol(), TPZGeoMesh::Print(), TPZCompMesh::Print(), TPZVTKGeoMesh::PrintGMeshVTK(), ResetMesh(), TPZAnalysis::Run(), TPZStepSolver< TVar >::SetDirect(), TPZStructMatrixBase::SetNumThreads(), TPZAnalysis::SetSolver(), TPZAnalysis::SetStructuralMatrix(), RunStatsTable::start(), RunStatsTable::stop(), and total_rdt.
| TPZCompMesh * MalhaComp | ( | TPZGeoMesh * | gmesh, |
| int | pOrder | ||
| ) |
criar materiais
Inserir condicao de contorno
Definition at line 296 of file main.cpp.
References TPZBuildMultiphysicsMesh::BuildHybridMesh(), TPZMaterial::CreateBC(), Forcing(), TPZCompMesh::InsertMaterialObject(), TPZMatPoisson3d::NStateVariables(), TPZCompMesh::SetAllCreateFunctionsHDivPressure(), TPZCompMesh::SetDimModel(), TPZMaterial::SetForcingFunction(), TPZMaterial::SetForcingFunctionExact(), TPZCompEl::SetgOrder(), TPZMatPoisson3d::SetParameters(), and SolExata().
Referenced by main().
| TPZGeoMesh * MalhaGeom | ( | int | NRefUnif, |
| REAL | Lx, | ||
| REAL | Ly | ||
| ) |
Definition at line 203 of file main.cpp.
References TPZGeoMesh::AddInterfaceMaterial(), bc1, bc2, bc3, bc4, TPZGeoMesh::BuildConnectivity(), TPZGeoEl::Divide(), TPZGeoMesh::ElementVec(), matInterno, TPZGeoMesh::NElements(), TPZGeoMesh::NodeVec(), TPZAdmChunkVector< T, EXP >::Resize(), and TPZGeoMesh::SetMaxNodeId().
| 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().
| void ResetMesh | ( | TPZCompMesh * | cmesh | ) |
Definition at line 488 of file main.cpp.
References cond, TPZCompMesh::ElementVec(), TPZCompMesh::NElements(), TPZCondensedCompEl::Unwrap(), and TPZElementGroup::Unwrap().
Referenced by main().
| 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().
| const int bc1 |
Definition at line 86 of file main.cpp.
Referenced by Input::InsertElasticityCubo(), InsertElasticityCubo(), InsertViscoElasticityCubo(), and MalhaGeom().
| const int bc2 |
Definition at line 87 of file main.cpp.
Referenced by TPZMulticamadaOrthotropic::AddPlacaOrtho(), Input::InsertElasticityCubo(), InsertElasticityCubo(), InsertViscoElasticityCubo(), and MalhaGeom().
| const int bc3 |
Definition at line 88 of file main.cpp.
Referenced by TPZMulticamadaOrthotropic::AddPlacaOrtho(), Input::InsertElasticityCubo(), InsertElasticityCubo(), InsertViscoElasticityCubo(), and MalhaGeom().
| const int bc4 |
Definition at line 89 of file main.cpp.
Referenced by TPZMulticamadaOrthotropic::AddPlacaOrtho(), Input::InsertElasticityCubo(), InsertElasticityCubo(), InsertViscoElasticityCubo(), and MalhaGeom().
| RunStatsTable cond_ass_rdt("-cond_ass_rdt","Statistics for the assemble step during static condensation") |
Referenced by main().
| clarg::argBool cond_f("-cond", "perform static condensation") |
| RunStatsTable cond_rdt("-cond_rdt","Statistics for the static condensation step") |
Referenced by main().
| clarg::argBool help("-h", "display the help message") |
Referenced by main().
| const int matInterno |
Definition at line 78 of file main.cpp.
Referenced by MalhaGeom().
| clarg::argInt n_threads("-nthreads", "Number of threads", 1) |
Referenced by main().
| clarg::argInt n_uref("-nuref", "Number of uniform refinements", 1) |
Referenced by main().
| clarg::argInt p_order("-p", "polynomial order", 1) |
Referenced by main().
| REAL const Pi |
Definition at line 91 of file main.cpp.
Referenced by TPZAnalyticSolution::~TPZAnalyticSolution().
| RunStatsTable total_rdt("-tot_rdt","Statistics for the whole application") |
Referenced by main().
1.8.13