9.0
general documentation
Loading...
Searching...
No Matches
cs_field_t Struct Reference

Field descriptor. More...

#include <cs_field.h>

Collaboration diagram for cs_field_t:

Data Fields

const char * name
int id
int type
int dim
int location_id
int n_time_vals
cs_real_t ** vals
cs_real_tval
cs_real_tval_pre
cs_real_tgrad
cs_field_bc_coeffs_tbc_coeffs
bool is_owner

Detailed Description

Field descriptor.

Members of this field are publicly accessible, to allow for concise syntax, as it is expected to be used in many places.

Field Documentation

◆ bc_coeffs

Boundary condition coefficients, for variable type fields

◆ dim

int dim

Field dimension (usually 1 for scalar, 3 for vector, or 6 for symmetric tensor)

◆ grad

cs_real_t* grad

◆ id

int id

Field id (based on order of field declaration, starting at 0)

◆ is_owner

bool is_owner

Ownership flag for values

◆ location_id

int location_id

Id of matching mesh location

◆ n_time_vals

int n_time_vals

Number of time values

◆ name

const char* name

Canonical name

◆ type

int type

Field type flag (sum of field mask constants, defining if a field is a variable, a property, ...)

◆ val

cs_real_t* val

For each active location, pointer to matching values array

◆ val_pre

cs_real_t* val_pre

For each active location, pointer to matching previous values array (only if n_time_vals > 1)

◆ vals

cs_real_t** vals

vals[0][:] is a pointer to val vals[1][:] is a pointer to val_pre vals[p][:] is a pointer to p ith previous field values


The documentation for this struct was generated from the following files: