src
paraview-5.12
Adaptors
Phasta
PhastaAdaptor.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
10
#ifndef vtkPhastaAdaptor_h
11
#define vtkPhastaAdaptor_h
12
13
#include "vtkPVAdaptorsPhastaModule.h"
14
15
// This code is meant to be used as an API for C simulation
16
// codes. To use with C codes, include this header file. Call the
17
// 'extern "C"' functions as named below for both Fortran and C.
18
// C code should include this header file to get the properly
19
// mangled function names.
20
21
#ifdef __cplusplus
22
extern
"C"
23
{
24
#endif
25
26
void
VTKPVADAPTORSPHASTA_EXPORT
createpointsandallocatecells
(
27
int
* numPoints,
double
* coordsArray,
int
* numCells);
28
29
void
VTKPVADAPTORSPHASTA_EXPORT
insertblockofcells
(
30
int
* numCellsInBlock,
int
* numPointsPerCell,
int
* cellConnectivity);
31
32
void
VTKPVADAPTORSPHASTA_EXPORT
addfields
(
33
int
* nshg,
int
* ndof,
double
* dofArray,
int
* compressibleFlow);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
#endif
addfields
void VTKPVADAPTORSPHASTA_EXPORT addfields(int *nshg, int *ndof, double *dofArray, int *compressibleFlow)
insertblockofcells
void VTKPVADAPTORSPHASTA_EXPORT insertblockofcells(int *numCellsInBlock, int *numPointsPerCell, int *cellConnectivity)
createpointsandallocatecells
void VTKPVADAPTORSPHASTA_EXPORT createpointsandallocatecells(int *numPoints, double *coordsArray, int *numCells)
Simulation code.
Generated by
1.8.17 on Wed Mar 27 2024