NeoPZ
pzmultplaca.h
Go to the documentation of this file.
1 
6 #ifndef MULTPLACAHPP
7 #define MULTPLACAHPP
8 
9 #include "pzmatplaca2.h"
10 
15 class TPZMultPlaca :public TPZMatPlaca2 {
16 
17 public:
18 
20  virtual void Solution(TPZVec<STATE> &Sol,TPZFMatrix<STATE> &DSol,TPZFMatrix<REAL> &axes,int var,TPZVec<STATE> &Solout) override;
21  virtual void Solution(TPZMaterialData &data,int var,TPZVec<STATE> &Solout) override
22  {
23  int numbersol = data.sol.size();
24  if (numbersol != 1) {
25  DebugStop();
26  }
27  Solution(data.sol[0],data.dsol[0],data.axes,var,Solout);
28  }
29 
30  TPZMultPlaca(int num, STATE h, TPZVec<STATE> &esp, STATE f, STATE E1 , STATE E2 ,
31  STATE ni1 , STATE ni2 , STATE G12 , STATE G13 , STATE G23 ,
32  TPZFMatrix<STATE> &naxes, TPZVec<STATE> &xf,
33  int camadaref, int camadaatual);
34  public:
35 int ClassId() const override;
36 
37 private:
39 };
40 
41 
42 #endif
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
Definition: pzmultplaca.h:21
virtual void Solution(TPZVec< STATE > &Sol, TPZFMatrix< STATE > &DSol, TPZFMatrix< REAL > &axes, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.
int ClassId() const override
Define the class id associated with the class.
DESCRIBE PLEASE.
Definition: pzmultplaca.h:15
DESCRIBE PLEASE.
Definition: pzmatplaca2.h:20
TPZGradSolVec dsol
vector of the derivatives of the solution at the integration point
clarg::argBool h("-h", "help message", false)
Contains the TPZMatPlaca2 class.
int64_t size() const
Returns the number of elements of the vector.
Definition: pzvec.h:196
f
Definition: test.py:287
#define DebugStop()
Returns a message to user put a breakpoint in.
Definition: pzerror.h:20
TPZFNMatrix< 9, REAL > axes
axes indicating the directions of the derivatives of the shapefunctions
TPZMultPlaca(int num, STATE h, TPZVec< STATE > &esp, STATE f, STATE E1, STATE E2, STATE ni1, STATE ni2, STATE G12, STATE G13, STATE G23, TPZFMatrix< STATE > &naxes, TPZVec< STATE > &xf, int camadaref, int camadaatual)
Definition: pzmultplaca.cpp:18
TPZFMatrix< STATE > fT
Definition: pzmultplaca.h:38
TPZSolVec sol
vector of the solutions at the integration point