Go to the documentation of this file.
17 #ifndef __WEIPA_NODEDATA_H__
18 #define __WEIPA_NODEDATA_H__
20 #include <weipa/weipa.h>
36 virtual std::string
getName()
const = 0;
69 #endif // __WEIPA_NODEDATA_H__
virtual const CoordArray & getCoords() const =0
Returns the coordinates of the mesh nodes.
double lsup(dim_t n, const double *x, escript::JMPI mpiinfo)
returns the global Lsup of x
Definition: PasoUtil.cpp:489
Definition: DataVar.cpp:49
virtual const IntVec & getNodeIDs() const =0
Returns the node ID array.
SolverResult Solver_GMRES2(Function *F, const double *f0, const double *x0, double *dx, dim_t *iter, double *tolerance, Performance *pp)
Definition: GMRES2.cpp:35
virtual int getNumNodes() const =0
Returns the number of mesh nodes.
virtual const IntVec & getNodeDistribution() const =0
Returns the node distribution array.
void update(dim_t n, double a, double *x, double b, const double *y)
Definition: PasoUtil.cpp:362
double l2(dim_t n, const double *x, escript::JMPI mpiinfo)
returns the global L2 norm of x
Definition: PasoUtil.cpp:524
index_t dim_t
Definition: DataTypes.h:87
std::vector< float * > CoordArray
Definition: weipa.h:60
virtual std::string getFullSiloName() const =0
Returns full Silo mesh name, e.g. "/block0000/Nodes".
virtual const IntVec & getGlobalNodeIndices() const =0
Returns the global node index array.
SolverResult
Definition: Paso.h:53
virtual std::string getName() const =0
Returns the name of this node mesh.
virtual ~NodeData()
Virtual destructor.
Definition: NodeData.h:87
std::vector< std::string > StringVec
Definition: weipa.h:59
virtual void writeCoordinatesVTK(std::ostream &os, int ownIndex)=0
Writes coordinates to a stream in VTK text format.
SolverResult Solver_NewtonGMRES(Function *F, double *x, Options *options, Performance *pp)
Definition: NewtonGMRES.cpp:54
virtual int getGlobalNumNodes() const =0
Returns the total number of mesh nodes for a distributed mesh.
Definition: BiCGStab.cpp:25
std::vector< int > IntVec
Definition: weipa.h:58
virtual int getNumDims() const =0
Returns the dimensionality of this mesh (2 or 3).
virtual StringVec getVarNames() const =0
Returns a vector with the mesh variable names.