8.3
general documentation
cs_meg_volume_function.cxx File Reference

This function is used to compute user defined values for fields over a given volume zone. The mathematical expression is defined in the GUI. More...

#include "cs_defs.h"
#include <assert.h>
#include <math.h>
#include "cs_headers.h"
+ Include dependency graph for cs_meg_volume_function.cxx:

Functions

void cs_meg_volume_function (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *fields_names, cs_real_t *fvals[])
 

Detailed Description

This function is used to compute user defined values for fields over a given volume zone. The mathematical expression is defined in the GUI.

Parameters
[in]zone_namename of a volume zone
[in]n_eltsnumber of elements related to the zone
[in]elt_idslist of element ids related to the zone
[in]xyzlist of coordinates related to the zone
[in,out]farray of pointers to cs_field_t structures

Function Documentation

◆ cs_meg_volume_function()

void cs_meg_volume_function ( const char *  zone_name,
const cs_lnum_t  n_elts,
const cs_lnum_t elt_ids,
const cs_real_t  xyz[][3],
const char *  fields_names,
cs_real_t fvals[] 
)