NeoPZ
Functions
pzgeoel.cpp File Reference

Contains the implementation of the TPZGeoEl methods. More...

#include "pzgeoel.h"
#include "pzcompel.h"
#include "pzgmesh.h"
#include "pzgnode.h"
#include "pzerror.h"
#include "pzmatrix.h"
#include "pzfmatrix.h"
#include "pztrnsform.h"
#include "pzvec.h"
#include "pzstack.h"
#include "pzquad.h"
#include "pzshapequad.h"
#include "pzshapetriang.h"
#include "TPZRefPattern.h"
#include "pzlog.h"
#include "TPZGeoLinear.h"
#include "pzgeotriangle.h"
#include "pzgeoquad.h"
#include "pzgeotetrahedra.h"
#include "pzgeopyramid.h"
#include "pzgeoprism.h"
#include "TPZGeoCube.h"
#include "pzcmesh.h"
#include <stdio.h>
#include <stdlib.h>
#include "tpzgeoelrefpattern.h"
#include "pzshapecube.h"
#include "TPZRefCube.h"
#include "pzshapelinear.h"
#include "TPZRefLinear.h"
#include "pzrefquad.h"
#include "pzreftriangle.h"
#include "pzshapeprism.h"
#include "pzrefprism.h"
#include "pzshapetetra.h"
#include "pzreftetrahedra.h"
#include "pzshapepiram.h"
#include "pzrefpyram.h"
#include "pzgeopoint.h"
#include "pzrefpoint.h"
#include "pzshapepoint.h"
Include dependency graph for pzgeoel.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, TPZGeoEl &el)
 
int ConjugateSide (TPZGeoEl *gel, int side, TPZStack< int > &allsides)
 Find a side which is not contained in allsides and whose dimension is one higher than the dimension of the side side at gel. More...
 
void NormalVector (TPZGeoElSide &LC, TPZGeoElSide &LS, TPZVec< REAL > &normal)
 Computes the normal vector goes from the center of the conjugate side (LC) to the center of the LS side (orthogonal this) More...
 
void Normalize (TPZVec< REAL > &normlow, TPZVec< REAL > &normal)
 Normalize normlow vector (in self) More...
 

Detailed Description

Contains the implementation of the TPZGeoEl methods.

Definition in file pzgeoel.cpp.

Function Documentation

◆ ConjugateSide()

int ConjugateSide ( TPZGeoEl gel,
int  side,
TPZStack< int > &  allsides 
)

Find a side which is not contained in allsides and whose dimension is one higher than the dimension of the side side at gel.

Definition at line 2465 of file pzgeoel.cpp.

References TPZGeoEl::AllHigherDimensionSides(), pztopology::highsides, TPZVec< T >::NElements(), and TPZGeoEl::SideDimension().

Referenced by TPZGeoEl::VerifyNodeCoordinates().

◆ Normalize()

void Normalize ( TPZVec< REAL > &  normlow,
TPZVec< REAL > &  normal 
)

Normalize normlow vector (in self)

Definition at line 2093 of file pzgeoel.cpp.

References DebugStop, LOGPZ_DEBUG, LOGPZ_ERROR, and TPZVec< T >::NElements().

Referenced by TPZGeoEl::VerifyNodeCoordinates().

◆ NormalVector()

void NormalVector ( TPZGeoElSide LC,
TPZGeoElSide LS,
TPZVec< REAL > &  normal 
)

Computes the normal vector goes from the center of the conjugate side (LC) to the center of the LS side (orthogonal this)

method

Definition at line 1999 of file pzgeoel.cpp.

References TPZGeoElSide::CenterPoint(), TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::GramSchmidt(), TPZGeoElSide::Jacobian(), LOGPZ_DEBUG, TPZVec< T >::Print(), TPZVec< T >::Resize(), TPZMatrix< TVar >::Rows(), and TPZGeoElSide::X().

Referenced by TPZGeoEl::VerifyNodeCoordinates().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
TPZGeoEl el 
)
Note
Overload operator << to print geometric element data

Definition at line 314 of file pzgeoel.cpp.

References TPZGeoEl::Print().