Itasca C++ Interface
Loading...
Searching...
No Matches
Public Member Functions | List of all members
zone::IFaceWeight Class Referenceabstract

Interface to face weight, used to define the location of a gridpoint in a given face. More...

#include <ifaceweight.h>

Public Member Functions

virtual DVect getVector (std::array< DVect, numGPperFace_ > &vert) const =0
 
virtual void set (const std::array< double, numGPperFace_ > &w)=0
 Set the four weights. Does not check is the sum of the weight is 1.0;.
 
virtual double getWeight (uint32 i) const =0
 Returns the weigth for a given vertex. Parameter by must be in the range 0 to numGPperFace_-1;.
 

Detailed Description

Interface to face weight, used to define the location of a gridpoint in a given face.

Quadrilateral weighting function class
Tracks weighting function for point in four sided polygon.
Also tracks whether the point in question is inside the polygon, and whether the polygon is concave or not.

Member Function Documentation

◆ getVector()

virtual DVect zone::IFaceWeight::getVector ( std::array< DVect, numGPperFace_ > & vert) const
pure virtual

Given four vectors representing values at the vertices of the face, computes a vector using the current vertex weights.


The documentation for this class was generated from the following file: