8 #ifndef TPZMixedDarcyFlow_h 9 #define TPZMixedDarcyFlow_h 63 void Print(std::ostream & out)
override;
66 std::string
Name()
override;
75 virtual int ClassId()
const override;
78 virtual void Write(
TPZStream &buf,
int withclassid)
const override;
126 int n_data = m_kappa.
Rows();
129 for (
int i = 0; i < 3; i++) {
138 if (kappa.
Rows() != 3 && kappa.
Cols() != 3) {
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Boundary contribute without jacobian matrix.
TPZFNMatrix< 9, REAL > m_kappa
Absolute permeability.
void SetPermeability(REAL kappa)
:: JV document me please
clarg::argBool bc("-bc", "binary checkpoints", false)
REAL m_d
Dimensional factor.
int Inverse(TPZFMatrix< TVar > &Inv, DecomposeType dec)
It makes Inv =[this]. IMPORTANT OBSERVATION –> The original matrix (calling object) no is more equal...
This class implements a simple vector storage scheme for a templated class T. Utility.
void FillDataRequirements(TPZVec< TPZMaterialData > &datavec) override
fill requirements for volumetric contribute methods multiphsycis mesh
void Print(std::ostream &out) override
print all material information
int NSolutionVariables(int var) override
size of the current variable (1 -> scalar, 3-> vector, 9 -> Tensor )
std::string Name() override
print material name
int VariableIndex(const std::string &name) override
Variable index based on variable naming.
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef) override
Volumetric contribute.
This abstract class defines the behaviour which each derived class needs to implement.
virtual int NStateVariables() const override
return the number of state variables associated with each trial function
Contains the TPZBndCond class which implements a boundary condition for TPZMaterial objects...
int Zero() override
Makes Zero all the elements.
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Boundary contribute.
Contains TPZMatrixclass which implements full matrix (using column major representation).
void Read(TPZStream &buf, void *context) override
write class from disk
#define DebugStop()
Returns a message to user put a breakpoint in.
This class defines the boundary condition for TPZMaterial objects.
void SetPermeability(TPZFNMatrix< 9, REAL > &kappa)
:: JV document me please
int64_t Rows() const
Returns number of rows.
TPZMixedDarcyFlow()
default constructor
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Volumetric contribute with jacobian matrix.
TPZMixedDarcyFlow & operator=(const TPZMixedDarcyFlow &other)
assignment operator
virtual int ClassId() const override
unique class identifier
void FillBoundaryConditionDataRequirement(int type, TPZVec< TPZMaterialData > &datavec) override
fill requirements for boundary contribute methods multiphsycis mesh
~TPZMixedDarcyFlow()
default desconstructor
virtual void Write(TPZStream &buf, int withclassid) const override
write class in disk
int m_dim
Material dimension.
TPZFNMatrix< 9, REAL > m_kappa_inv
Inver of absolute permeability.
void SetDimension(int dim)
Sets material dimension.
void SetDimensionalFactor(REAL d)
:: JV document me please
int64_t Cols() const
Returns number of cols.
Defines the interface for saving and reading data. Persistency.
TPZMaterial * NewMaterial() override
return a material object from a this object
int Dimension() const override
return the euclidean dimension of the weak statement
void Solution(TPZVec< TPZMaterialData > &datavec, int var, TPZVec< STATE > &Solout) override
Postprocess required variables multiphysics.