Pointwise Plugin SDK
rtCaepSupportData.h File Reference

Defines Support Data for the CAEP_RTITEM Array. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Defines Support Data for the CAEP_RTITEM Array.

The file rtCaepSupportData.h defines and initilizes the support data for the global CAEP_RTITEM caepRtItem[] array. The CAE Plugin SDK uses this data to implement the functions and behaviors required by the Pointwise CAE Plugin API Specification (CAEP-API). If you want to see the SDK implementation details, look in the /shared/CAEP/apiCAEP.cxx file.

The SDK file /shared/CAEP/apiCAEP.cxx includes rtCaepSupportData.h prior to the declaration of the caepRtItem[] array as shown below.

// impl-defined CAE format data
# include "rtCaepInitItems.h"

When copied from the src/plugins/templates/CAEP/ folder to your plugins project folder, rtCaepSupportData.h will contain the support data needed for the 3 example CAEP_RTITEM array items. This example support data must be culled and edited as needed for your plugin's implementation.

The support data used by the CAE Plugin SDK includes the following:

These support arrays are referenced in rtCaepInitItems.h to initialize the corresponding data members.

Example Support Data Usage

The code segments below show how the example support data is implemented by the SDK in the rtCaepSupportData.h and rtCaepInitItems.h template files.

The example support data declaration and initialization in rtCaepSupportData.h:

CAEP_BCINFO CaeXxxxxBCInfo[] = {
{ "inflow-CaeXxxxx", 100 },
{ "outflow-CaeXxxxx", 101 },
{ "wall-CaeXxxxx", 102 },
CAEP_VCINFO CaeXxxxxVCInfo[] = {
{ "viscous-CaeXxxxx", 200 },
{ "invisid-CaeXxxxx", 201 },
const char *CaeXxxxxFileExt[] = {
\skipline };

The support data referenced as initilizers in rtCaepInitItems.h:

Definition in file rtCaepSupportData.h.

#define ARRAYSIZE(arrname)
Calculates the size of a statically declared array.
Definition: apiUtils.h:164
CAEP_RTITEM caepRtItem[]
The runtime array of CAEP_RTITEM items.
Definition: apiCAEP.cxx:30
unsigned int PWP_UINT32
32-bit unsigned integer
Definition: apiPWP.h:210
The data representing a CAE exporter instance.
Definition: apiCAEPUtils.h:124
Defines Support Data for the CAEP_RTITEM Array.
PWP_UINT32 caepFormatCnt
The number of entries in caepRtItem[] array.
Definition: apiCAEP.cxx:36
Volume condition definition information.
Definition: apiCAEP.h:166
Static Initialization Data for the CAEP_RTITEM Array.
Boundary condition definition information.
Definition: apiCAEP.h:67