NeoPZ
|
Implements the shape functions discontinuous elements. Shape. More...
#include <TPZShapeDisc.h>
Public Types | |
enum | MShapeType { ETensorial, EOrdemTotal, ETensorialFull, EOrdemTotalFull } |
Public Member Functions | |
TPZShapeDisc () | |
TPZShapeDisc (const TPZShapeDisc ©) | |
~TPZShapeDisc () | |
Static Public Member Functions | |
static void | Polynomial (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
Polynomial shape function. More... | |
static void | PolynomialWithoutScale (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
static void | IntegratedLegendre (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
static void | Legendre (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
static void | ChebyshevWithoutScale (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
static void | LegendreWithoutScale (REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n=1) |
static void | Shape (int dimension, REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, MShapeType type) |
static void | Shape (int &dimension, int °ree, TPZVec< REAL > &qsi, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, MShapeType type) |
Computes the shape function set at the point qsi for dual space. More... | |
static int | NShapeF (int degree, int dimension, MShapeType type) |
Number of shapefunctions dependent on the dimension and order of interpolation. More... | |
static void | Shape0D (REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) |
Discontinous polynomials of the line element. More... | |
static void | Shape1D (REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) |
Discontinous polynomials of the line element. More... | |
static void | Shape2D (REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, MShapeType type) |
Discontinous bases of the two-dimensional elements. More... | |
static void | Shape2DFull (REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, MShapeType type) |
Discontinous bases of the two-dimensional elements with many derivatives! More... | |
static void | Shape3D (REAL C, TPZVec< REAL > &X0, TPZVec< REAL > &X, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, MShapeType type) |
Discontinous bases of the three-dimensional elements. More... | |
Static Public Attributes | |
static void(* | fOrthogonal )(REAL C, REAL x0, REAL x, int degree, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, int n) |
Pointer to orthogonal function to use as shape function. More... | |
Implements the shape functions discontinuous elements. Shape.
This class computes the shape functions for n-dimensional elements the shape functions can be tensor based or interpolation order based The Shape2dFull method also computes higher order derivatives
Definition at line 25 of file TPZShapeDisc.h.
Enumerator | |
---|---|
ETensorial | |
EOrdemTotal | |
ETensorialFull | |
EOrdemTotalFull |
Definition at line 60 of file TPZShapeDisc.h.
pzshape::TPZShapeDisc::TPZShapeDisc | ( | ) |
Definition at line 21 of file TPZShapeDisc.cpp.
pzshape::TPZShapeDisc::TPZShapeDisc | ( | const TPZShapeDisc & | copy | ) |
Definition at line 25 of file TPZShapeDisc.cpp.
pzshape::TPZShapeDisc::~TPZShapeDisc | ( | ) |
Definition at line 29 of file TPZShapeDisc.cpp.
|
static |
Definition at line 182 of file TPZShapeDisc.cpp.
References DebugStop, IsZero(), and TPZFMatrix< TVar >::Redim().
|
static |
Definition at line 34 of file TPZShapeDisc.cpp.
References DebugStop, IsZero(), pow(), and TPZFMatrix< TVar >::Redim().
|
static |
Definition at line 160 of file TPZShapeDisc.cpp.
References DebugStop, IsZero(), pow(), TPZMatrix< TVar >::Put(), TPZFMatrix< TVar >::Redim(), and val().
|
static |
Definition at line 197 of file TPZShapeDisc.cpp.
References DebugStop, IsZero(), and TPZFMatrix< TVar >::Redim().
|
static |
Number of shapefunctions dependent on the dimension and order of interpolation.
Definition at line 498 of file TPZShapeDisc.cpp.
References PZError.
Referenced by TPZCompElHDivPressure< TSHAPE >::NConnectShapeF(), TPZCompElHDivPressureBound< TSHAPE >::NConnectShapeF(), TPZCompElHDivPressure< TSHAPE >::Shape(), TPZCompElHDivPressure< TSHAPE >::TPZCompElHDivPressure(), and TPZCompElHDivPressureBound< TSHAPE >::TPZCompElHDivPressureBound().
|
static |
Polynomial shape function.
C | normalizing constant, it provided by the discontinous element |
x0 | interior point of the deformed element, it can be, for example, the center of mass of the element |
x | coordinate of the point |
degree | degree of interpolation of the element |
phi | shapefunction values |
dphi | values of the derivatives of the shape functions |
n | number of derivatives to be computed |
Definition at line 96 of file TPZShapeDisc.cpp.
References DebugStop, degree(), IsZero(), PZError, TPZFMatrix< TVar >::Redim(), and val().
|
static |
Definition at line 128 of file TPZShapeDisc.cpp.
References DebugStop, degree(), IsZero(), PZError, TPZFMatrix< TVar >::Redim(), and val().
|
static |
Definition at line 211 of file TPZShapeDisc.cpp.
References DebugStop, and PZError.
Referenced by TPZCompElHDivPressure< TSHAPE >::Shape(), and TPZCompElHDivPressure< TSHAPE >::ShapeDual().
|
static |
Computes the shape function set at the point qsi for dual space.
dimension | dimension of element |
degree | degree of polynomial |
qsi | point in master element coordinates |
phi | vector of values of shapefunctions, dimension (numshape,1) |
dphi | matrix of derivatives of shapefunctions, dimension (dim,numshape) |
type | type of polinomial space |
Definition at line 242 of file TPZShapeDisc.cpp.
References DebugStop.
|
static |
Discontinous polynomials of the line element.
Definition at line 262 of file TPZShapeDisc.cpp.
References DebugStop, TPZFMatrix< TVar >::PutVal(), PZError, and TPZFMatrix< TVar >::Redim().
|
static |
Discontinous polynomials of the line element.
Definition at line 274 of file TPZShapeDisc.cpp.
|
static |
Discontinous bases of the two-dimensional elements.
Definition at line 284 of file TPZShapeDisc.cpp.
References degree(), PZError, TPZFMatrix< TVar >::Redim(), and TPZFMatrix< TVar >::Zero().
|
static |
Discontinous bases of the two-dimensional elements with many derivatives!
Definition at line 447 of file TPZShapeDisc.cpp.
References PZError, TPZFMatrix< TVar >::Redim(), and TPZFMatrix< TVar >::Zero().
|
static |
Discontinous bases of the three-dimensional elements.
Definition at line 390 of file TPZShapeDisc.cpp.
References TPZFMatrix< TVar >::Redim(), and TPZFMatrix< TVar >::Zero().
|
static |
Pointer to orthogonal function to use as shape function.
Definition at line 56 of file TPZShapeDisc.h.
Referenced by TPZCompElDisc::SetOrthogonalFunction().