5 #ifndef TPZTracerFlow_h 6 #define TPZTracerFlow_h 61 virtual std::string
Name()
override{
62 return "TPZTracerFlow";
81 void Print(std::ostream &out = std::cout)
override;
133 m_mass_matrix_Q = mass_matrix_Q;
163 m_fracture_epsilon = fracture_epsilon;
Defines the interface which material objects need to implement for discontinuous Galerkin formulation...
void ContributeInterface(TPZMaterialData &data, TPZMaterialData &dataleft, TPZMaterialData &dataright, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to stiffness matrix and load vector at one integration point...
REAL m_dt
Regular time step size.
int ClassId() const override
void ContributeBCInterface(TPZMaterialData &data, TPZMaterialData &dataleft, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to residual vector at one BC integration point.
virtual void FillDataRequirementsInterface(TPZMaterialData &data) override
Fill material data parameter with necessary requirements for the ContributeInterface method...
clarg::argBool bc("-bc", "binary checkpoints", false)
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
void SetTimeStep(REAL dt)
Set regular time step size.
int m_mat_id
material dimension
int NSolutionVariables(int var) override
Returns the number of variables associated with varindex.
int VariableIndex(const std::string &name) override
Returns the variable index associated with the name.
virtual void FillBoundaryConditionDataRequirement(int type, TPZVec< TPZMaterialData > &datavec) override
Set the required data at each integration point.
This class implements a simple vector storage scheme for a templated class T. Utility.
virtual void FillDataRequirements(TPZVec< TPZMaterialData > &datavec) override
Set the required data at each integration point.
bool m_mass_matrix_Q
Directive that stands for Mass matrix assembly.
void Print(std::ostream &out=std::cout) override
Print out the data associated with the material.
void Write(TPZStream &buf, int withclassid)
This abstract class defines the behaviour which each derived class needs to implement.
Contains the TPZBndCond class which implements a boundary condition for TPZMaterial objects...
void ContributeBCInterface(TPZMaterialData &data, TPZMaterialData &dataleft, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to stiffness matrix and load vector at one BC integration point...
int m_dimension
material dimension
int Dimension() const override
Returns the integrable dimension of the material.
TPZTracerFlow & operator=(const TPZTracerFlow &other)
Assignment operator.
~TPZTracerFlow()
Default destructor.
#define DebugStop()
Returns a message to user put a breakpoint in.
virtual std::string Name() override
Returns the name of the material.
This class defines the boundary condition for TPZMaterial objects.
REAL GetFractureCrossLength()
Get fracture cross length.
void SetPorosity(REAL phi)
Set porosity.
void SetDimension(int dim)
Sets material dimension.
void SetFractureCrossLength(REAL fracture_epsilon)
Set fracture cross length.
void Read(TPZStream &buf, void *context) override
REAL GetPorosity()
Get porosity.
void Solution(TPZVec< TPZMaterialData > &datavec, int var, TPZVec< REAL > &Solout) override
Returns the solution associated with the var index.
bool GetMassMatrixAssembly()
Set directive that stands for Mass matrix assembly.
int NStateVariables() const override
Returns the number of state variables associated with the material.
REAL GetTimeStep()
Get regular time step size.
void SetMassMatrixAssembly(bool mass_matrix_Q)
Set directive that stands for Mass matrix assembly.
void ContributeBC(TPZVec< TPZMaterialData > &datavec, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one BC integration point to mul...
Defines the interface for saving and reading data. Persistency.
Contains the TPZDiscontinuousGalerkin class which implements the interface for discontinuous Galerkin...
void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
TPZTracerFlow()
Default constructor.
REAL FractureFactor(TPZMaterialData &data)
virtual TPZMaterial * NewMaterial() override
Returns material copied form this object.
void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Not used contribute methods.