32 fMesh(cmesh), fMaterialIndex(materialid)
45 for (el=0; el<nel; el++) {
84 for (
int d=0; d<maxd; d++) {
85 df(d,is) = dsol[is*3+d];
93 out << __PRETTY_FUNCTION__ << std::endl;
94 out <<
"NFunctions = " <<
NFunctions() << std::endl;
TPZGeoMesh * Reference() const
Returns a pointer to the geometrical mesh associated.
int fSolutionVarindex
variable index of the solution variable
int64_t fGeoElIndex
Geometric element index where the last point was found.
virtual int VariableIndex(const std::string &name)
Returns the variable index associated with the name.
int64_t NElements() const
Number of elements of the mesh.
TPZCompMesh * fMesh
Mesh for which the solution applies.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object.
This abstract class defines the behaviour which each derived class needs to implement.
int ClassId() const override
Define the class id associated with the class.
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
class which represents the solution and its derivative as a function
TPZGeoEl * Element(int64_t iel)
#define DebugStop()
Returns a message to user put a breakpoint in.
int Dimension() const
Returns the dimension of the simulation.
virtual int NFunctions() const override
Returns number of functions.
TPZMaterial * FindMaterial(int id)
Find the material with identity id.
TPZCompEl * Reference() const
Return a pointer to the element referenced by the geometric element.
int64_t Rows() const
Returns number of rows.
virtual void Print(std::ostream &out) override
Print a brief statement.
TPZGeoEl * FindElement(TPZVec< REAL > &x, TPZVec< REAL > &qsi, int64_t &InitialElIndex, int targetDim) const
Returns the element that contains the given point x and it respective point in parametric domain qsi...
Contains declaration of TPZCompMesh class which is a repository for computational elements...
~TPZMeshSolution()
Class destructor.
int32_t Hash(std::string str)
virtual void Execute(const TPZVec< REAL > &x, TPZVec< STATE > &f, TPZFMatrix< STATE > &df) override
Performs function computation.
virtual int Dimension() const =0
Returns the dimension of the element.
int fNumSolutions
number of state variables of the differential equation
virtual int NSolutionVariables(int var)
Returns the number of variables associated with the variable indexed by var.
Implements computational mesh. Computational Mesh.
int fDimension
dimension of the problem
virtual void Solution(TPZVec< REAL > &qsi, int var, TPZVec< STATE > &sol)
Calculates the solution - sol - for the variable var at point qsi, where qsi is expressed in terms of...
int ClassId() const override
Define the class id associated with the class.
virtual int PolynomialOrder() const override
Polynomial order of this function.
int fGradVarindex
variable index of the gradient of the solution
Defines the interface of a computational element. Computational Element.
TPZMeshSolution(TPZCompMesh *cmesh, int materialid)
Class constructor.
TPZManVector< REAL, 3 > fLastLoc
Parametric coordinate where the last point was found.