NeoPZ
pzhybridpoisson.h
Go to the documentation of this file.
1 //
2 // mixedpoisson.h
3 // PZ
4 //
5 // Created by Agnaldo Farias on 5/28/12.
6 // Copyright (c) 2012 LabMec-Unicamp. All rights reserved.
7 //
8 
9 #ifndef PZ_mixedpoisson_h
10 #define PZ_mixedpoisson_h
11 
12 #include "TPZMaterial.h"
13 #include "pzdiscgal.h"
14 #include "pzpoisson3d.h"
15 #include "TPZMaterial.h"
16 
27 
28 protected:
29 
30 public:
32 
33  TPZHybridPoisson(int matid, int dim);
34 
35  virtual ~TPZHybridPoisson();
36 
37  virtual void Print(std::ostream & out);
38 
39  virtual std::string Name() { return "TPZHybridPoisson"; }
40 
50  {
51  data.fNeedsNormal = true;
52  }
53 
64  virtual void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix<STATE> &ek, TPZFMatrix<STATE> &ef);
65 
75  virtual void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix<STATE> &ef);
76 
77  virtual void Contribute(TPZMaterialData &data,REAL weight,
79  {
80 
81  }
82  virtual void Contribute(TPZMaterialData &data,REAL weight,
84  {
85 
86  }
87 
88 
89 };
90 
91 #endif
virtual std::string Name()
Returns the name of the material.
Contains the TPZMatPoisson3d class.
virtual void Print(std::ostream &out)
Prints out the data associated with the material.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef)
It computes a contribution to the stiffness matrix and load vector at one integration point...
virtual void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef)
It computes a contribution to stiffness matrix and load vector at one integration point...
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef)
It computes a contribution to the residual vector at one integration point.
virtual void FillDataRequirementsInterface(TPZMaterialData &data)
Fill material data parameter with necessary requirements for the ContributeInterface method...
DESCRIBE PLEASE.
Definition: pzpoisson3d.h:26
virtual ~TPZHybridPoisson()
Contains the TPZDiscontinuousGalerkin class which implements the interface for discontinuous Galerkin...
Material to solve a mixed poisson problem 2d by multiphysics simulation.