src
paraview-5.12
Adaptors
NPIC
NPICAdaptor.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#ifndef Adaptors_NPICAdaptor_h
5
#define Adaptors_NPICAdaptor_h
6
7
#include "vtkPVAdaptorsNPICModule.h"
8
9
// This code is meant to be used as an API for C simulation
10
// codes. To use with C codes, include this header file. Call the
11
// 'extern "C"' functions as named below for both Fortran and C.
12
// C code should include this header file to get the properly
13
// mangled function names.
14
15
#ifdef __cplusplus
16
extern
"C"
17
{
18
#endif
19
20
void
VTKPVADAPTORSNPIC_EXPORT
createstructuredgrid_
(
21
int
* myid,
int
* xdim,
int
* ystart,
int
* ystop,
double
* xspc,
double
* yspc);
22
23
void
VTKPVADAPTORSNPIC_EXPORT
add_scalar_
(
char
* fname,
int
* len,
double
* data,
int
* size);
24
25
void
VTKPVADAPTORSNPIC_EXPORT
add_vector_
(
26
char
* fname,
int
* len,
double
* data0,
double
* data1,
double
* data2,
int
* size);
27
28
void
VTKPVADAPTORSNPIC_EXPORT
add_pressure_
(
int
* index,
double
* data,
int
* size);
29
30
#ifdef __cplusplus
31
}
32
#endif
33
#endif
add_vector_
void VTKPVADAPTORSNPIC_EXPORT add_vector_(char *fname, int *len, double *data0, double *data1, double *data2, int *size)
add_pressure_
void VTKPVADAPTORSNPIC_EXPORT add_pressure_(int *index, double *data, int *size)
createstructuredgrid_
void VTKPVADAPTORSNPIC_EXPORT createstructuredgrid_(int *myid, int *xdim, int *ystart, int *ystop, double *xspc, double *yspc)
add_scalar_
void VTKPVADAPTORSNPIC_EXPORT add_scalar_(char *fname, int *len, double *data, int *size)
Generated by
1.8.17 on Wed Mar 27 2024