Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iquadweight.h
Go to the documentation of this file.
1 #pragma once
2 // iface.h
3 
9 #include "base/src/base.h"
10 
11 namespace zone
12 {
14 
20  {
21  public:
24  virtual DVect3 getVector(const DVect3 &dvA,const DVect3 &dvB,const DVect3 &dvC,const DVect3 &dvD) const=0;
26  virtual double getWeight(quint32 by) const=0;
28  virtual void set(const double &w1,const double &w2,const double &w3,const double &w4) = 0;
29  };
30 
31 } // namespace zone
32 // EoF
Interface to face weight, used to define the location of a gridpoint in a given face.
Definition: iquadweight.h:19
virtual double getWeight(quint32 by) const =0
Returns the weigth for a given vertex. Parameter by must be in the range 0 to 3.
virtual DVect3 getVector(const DVect3 &dvA, const DVect3 &dvB, const DVect3 &dvC, const DVect3 &dvD) const =0
virtual void set(const double &w1, const double &w2, const double &w3, const double &w4)=0
Set the four weights. Does not check is the sum of the weight is 1.0;.
One stop include for all objects defined as part of base interface.