/* This file is part of the Neper software package. */
/* Copyright (C) 2003-2014, Romain Quey. */
/* See the COPYING file in the top-level directory. */

#ifndef  NEUT_VOX_GEN_H
#define  NEUT_VOX_GEN_H

extern void neut_tesr_cell (struct TESR Tesr, char** pcell);
extern void neut_tesr_entity_qty (struct TESR Tesr, char* entity, int* pqty);

extern void neut_tesr_tesrqty (struct TESR Tesr, int *pqty);

extern int neut_tesr_size (struct TESR Tesr, double *pvol);
extern int neut_tesr_volume (struct TESR Tesr, double *pvol);
extern int neut_tesr_area (struct TESR Tesr, double *parea);
extern int neut_tesr_length (struct TESR Tesr, double *plength);

extern void neut_tesr_var_list (char *entity, char ***pvar, int *pvarqty);
extern int neut_tesr_var_val (struct TESR Tesr,
			     char *entity, int id, char *var, double *pval,
			     char **ptype);

extern void neut_tesr_entity_expr_val (struct TESR Tesr, char* entity,
                          char* expr, double* val);

#endif /* NEUT_VOX_GEN_H */
