My Project
programmer's documentation
Functions
cs_field_default.h File Reference
#include "cs_defs.h"
Include dependency graph for cs_field_default.h:

Go to the source code of this file.

Functions

int cs_variable_cdo_field_create (const char *name, const char *label, int location_id, int dim, int has_previous)
 Add a field shared between CDO and legacy schemes. This field is related to a general solved variable, with default options. More...
 
int cs_variable_field_create (const char *name, const char *label, int location_id, int dim)
 Add field defining a general solved variable, with default options. More...
 

Function Documentation

◆ cs_variable_cdo_field_create()

int cs_variable_cdo_field_create ( const char *  name,
const char *  label,
int  location_id,
int  dim,
int  has_previous 
)

Add a field shared between CDO and legacy schemes. This field is related to a general solved variable, with default options.

Parameters
[in]namefield name
[in]labelfield default label, or empty
[in]location_idid of associated location
[in]dimfield dimension
[in]has_previousno if lower than 1
Returns
newly defined field id

◆ cs_variable_field_create()

int cs_variable_field_create ( const char *  name,
const char *  label,
int  location_id,
int  dim 
)

Add field defining a general solved variable, with default options.

Parameters
[in]namefield name
[in]labelfield default label, or empty
[in]location_idid of associated location
[in]dimfield dimension
Returns
newly defined field id