Go to the documentation of this file.
9 #if !defined(PWGM_HIDE_UNSTRUCTURED_API)
11 #ifndef _CAEUNSPATCH_H_
12 #define _CAEUNSPATCH_H_
79 PWGM_HDOMAIN_SET_INVALID(
h_);
286 #endif // _CAEUNSPATCH_H_
288 #endif // PWGM_HIDE_UNSTRUCTURED_API
Grid element handle declaration.
PWP_UINT32 PwDomElementCount(PWGM_HDOMAIN domain, PWGM_ELEMCOUNTS *pCounts)
Get the number of domain elements.
PWGM_HDOMAIN PwModEnumDomains(PWGM_HGRIDMODEL model, PWP_UINT32 ndx)
Sequentially enumerate the model domain elements.
CaeUnsPatch & operator=(PWGM_HDOMAIN domain)
Assignment operator.
CaeUnsGridModel model() const
Gets the unstructured grid model of which this patch is a member.
CaeUnsPatch()
Default constructor.
An opaque handle to a grid domain element.
The unstructured grid model class.
bool isValid() const
Determines a patch's validity.
#define PWGM_HDOMAIN_ISVALID(h)
returns non-zero value if handle is valid
PWP_UINT32 index() const
Get the patch's index.
PWGM_HDOMAIN h_
The bound PWGM_HDOMAIN.
The unstructured patch class.
CaeUnsPatch & movePrev()
Rebinds an instance to the previous patch in a model.
Pointwise Grid Model API Specification (PWGM-API)
PWGM_HELEMENT PwDomEnumElements(PWGM_HDOMAIN domain, PWP_UINT32 ndx)
Sequentially enumerate the domain elements.
The unstructured element group class.
#define PWGM_HDOMAIN_ID(h)
gets the domain's guid from the handle
CaeUnsPatch & operator--()
Prefix decrement to the previous patch in a model.
PWP_BOOL PwDomCondition(PWGM_HDOMAIN domain, PWGM_CONDDATA *pCondData)
Get the domain condition data.
#define PWGM_HDOMAIN_H(h)
gets the element's parent PWGM_HGRIDMODEL handle
virtual PWGM_HELEMENT enumElementsImpl(PWP_UINT32 ndx) const =0
Get an element in the group.
Element count information.
CaeUnsPatch & moveTo(const CaeUnsGridModel &model, PWP_UINT32 ndx)
Rebinds an instance to a specific model patch.
CaeUnsPatch(const CaeUnsGridModel &model, PWP_UINT32 ndx=0)
Model and patch index constructor.
CaeUnsPatch & moveFirst(const CaeUnsGridModel &model)
Rebinds an instance to the first patch in a model.
CaeUnsPatch & moveNext()
Rebinds an instance to the next patch in a model.
CaeUnsPatch & operator=(const CaeUnsPatch &rhs)
Assignment operator.
Condition descriptor data type.
CaeUnsPatch & operator++()
Prefix increment to the next patch in a model.
Pointwise Plugin API (PWP-API)
CaeUnsPatch(const CaeUnsPatch &src)
Copy constructor.
bool condition(PWGM_CONDDATA &data) const
Get the patch's condition data.
virtual PWP_UINT32 elementCountImpl(PWGM_ELEMCOUNTS *pDetails) const =0
Get the number of elements in the group.
CaeUnsPatch operator++(int)
Postfix increment to the next patch in a model.
CaeUnsPatch operator--(int)
Postfix decrement to the previous patch in a model.
CaeUnsPatch(PWGM_HDOMAIN domain)
Domain handle constructor.
virtual ~CaeUnsPatch()
Destructor.