Code_Saturne
CFD tool
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
preprocessor
appli
ecs_cmd.h
Go to the documentation of this file.
1
#ifndef _ECS_CMD_H_
2
#define _ECS_CMD_H_
3
4
/*============================================================================
5
* Prototypes des fonctions de base
6
* associées à la structure `ecs_cmd_t' décrivant
7
* les options de la ligne de commande
8
*============================================================================*/
9
10
/*
11
This file is part of Code_Saturne, a general-purpose CFD tool.
12
13
Copyright (C) 1998-2012 EDF S.A.
14
15
This program is free software; you can redistribute it and/or modify it under
16
the terms of the GNU General Public License as published by the Free Software
17
Foundation; either version 2 of the License, or (at your option) any later
18
version.
19
20
This program is distributed in the hope that it will be useful, but WITHOUT
21
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
23
details.
24
25
You should have received a copy of the GNU General Public License along with
26
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
27
Street, Fifth Floor, Boston, MA 02110-1301, USA.
28
*/
29
30
/*----------------------------------------------------------------------------*/
31
32
#include "cs_config.h"
33
34
/*----------------------------------------------------------------------------
35
* Standard C library headers
36
*----------------------------------------------------------------------------*/
37
38
/*----------------------------------------------------------------------------
39
* Local headers
40
*----------------------------------------------------------------------------*/
41
42
#include "
ecs_def.h
"
43
#include "
ecs_pre.h
"
44
45
/*============================================================================
46
* Type definitions
47
*============================================================================*/
48
49
typedef
struct
{
50
51
char
*
fic_maillage
;
52
char
*
nom_cas
;
53
char
*
nom_out
;
54
int
nbr_dump
;
55
int
n_num_maillage
;
56
int
*
num_maillage
;
57
ecs_pre_format_t
fmt_maillage
;
58
bool
grp_cel_section
;
59
bool
grp_cel_zone
;
60
bool
grp_fac_section
;
61
bool
grp_fac_zone
;
62
63
bool
correct_orient
;
64
65
char
post_err[8];
66
char
post_vol[8];
67
68
}
ecs_cmd_t
;
69
70
/*============================================================================
71
* Public function prototypes
72
*============================================================================*/
73
74
/*----------------------------------------------------------------------------
75
* Fonction qui lit la ligne de commande
76
*----------------------------------------------------------------------------*/
77
78
ecs_cmd_t
*
79
ecs_cmd__lit_arg
(
int
argc,
80
char
*argv[]);
81
82
/*----------------------------------------------------------------------------
83
* Fonction liberant une structure `ecs_cmd_t' donnee en argument.
84
* Elle renvoie un pointeur NULL
85
*----------------------------------------------------------------------------*/
86
87
ecs_cmd_t
*
ecs_cmd__detruit
(
ecs_cmd_t
*cmd);
88
89
/*----------------------------------------------------------------------------*/
90
91
#endif
/* _ECS_CMD_H_ */
ecs_cmd_t::grp_cel_zone
bool grp_cel_zone
Definition:
ecs_cmd.h:59
ecs_cmd_t::grp_fac_zone
bool grp_fac_zone
Definition:
ecs_cmd.h:61
ecs_cmd_t
Definition:
ecs_cmd.h:49
ecs_cmd_t::grp_cel_section
bool grp_cel_section
Definition:
ecs_cmd.h:58
ecs_cmd__detruit
ecs_cmd_t * ecs_cmd__detruit(ecs_cmd_t *cmd)
Definition:
ecs_cmd.c:1211
ecs_def.h
ecs_cmd_t::num_maillage
int * num_maillage
Definition:
ecs_cmd.h:56
ecs_cmd_t::n_num_maillage
int n_num_maillage
Definition:
ecs_cmd.h:55
ecs_cmd_t::fmt_maillage
ecs_pre_format_t fmt_maillage
Definition:
ecs_cmd.h:57
ecs_pre_format_t
ecs_pre_format_t
Definition:
ecs_pre.h:78
ecs_cmd_t::fic_maillage
char * fic_maillage
Definition:
ecs_cmd.h:51
ecs_cmd_t::nom_out
char * nom_out
Definition:
ecs_cmd.h:53
ecs_cmd_t::grp_fac_section
bool grp_fac_section
Definition:
ecs_cmd.h:60
ecs_cmd_t::nom_cas
char * nom_cas
Definition:
ecs_cmd.h:52
ecs_pre.h
ecs_cmd_t::nbr_dump
int nbr_dump
Definition:
ecs_cmd.h:54
ecs_cmd_t::correct_orient
bool correct_orient
Definition:
ecs_cmd.h:63
ecs_cmd__lit_arg
ecs_cmd_t * ecs_cmd__lit_arg(int argc, char *argv[])
Definition:
ecs_cmd.c:880
Generated on Fri Jan 26 2018 14:29:07 for Code_Saturne by
1.8.6