Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
ifaceweight.h
Go to the documentation of this file.
1
#pragma once
2
// iface.h
3
8
9
#include "
base/src/base.h
"
10
#include "
izone.h
"
11
12
namespace
zone {
14
19
class
IFaceWeight
{
20
public
:
23
virtual
DVect
getVector
(std::array<DVect,numGPperFace_> &vert)
const
=0;
25
virtual
void
set
(
const
std::array<double,numGPperFace_> &w) = 0;
27
virtual
double
getWeight
(uint32 i)
const
= 0;
28
};
29
30
}
// namespace zone
31
// EoF
base.h
One stop include for all objects defined as part of base interface.
zone::IFaceWeight
Interface to face weight, used to define the location of a gridpoint in a given face.
Definition
ifaceweight.h:19
zone::IFaceWeight::getWeight
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;.
zone::IFaceWeight::getVector
virtual DVect getVector(std::array< DVect, numGPperFace_ > &vert) const =0
zone::IFaceWeight::set
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;.
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
izone.h
Interface to provide access to a zone.
flac3d
zone
interface
ifaceweight.h
Generated by
1.18.0