_layer Struct Reference


Detailed Description

--------------------------------------------------------------------------- This struct is used for every layer type, including <layer/>, <component/>, and <function/>. The struct carries different types of information, but the actual numerical parameters are stored in the paramter array, yanera_parameters, not here. Instead, the yanera_layer struct stores the indexes to the parameter array.

Definition at line 248 of file yanera.h.


Data Fields

char * layer_id
char * layer_idref
char * component_id
char * component_idref
enum layer_type type
char * name
char * func
yanera_postfixfunc_postfix
char * parm_names
short * parm_values
short number_of_parm
short thik
short sigz
short cntr
short rsld
short isld
short rmag
enum boolean include_flag
unsigned short repeat_flag
enum polarized_type polarized
struct _layerprev
struct _layernext

Field Documentation

The XML layer_id identifies layers in the base model to be altered.

Definition at line 252 of file yanera.h.

The XML layer_idref refers to a <layer/> with a unique layer_id in the base model.

Definition at line 257 of file yanera.h.

The XML component_id is used to identify a common component.

Definition at line 261 of file yanera.h.

The XML component_idref alows a <layer/> to identify with a common component

Definition at line 266 of file yanera.h.

General layer information : Layer type. See layer_type

Definition at line 270 of file yanera.h.

char* _layer::name

General layer information : Layer name. Character string.

Definition at line 274 of file yanera.h.

char* _layer::func

Function type layers info : The actual text of a layer equation.

Definition at line 278 of file yanera.h.

Function type layers info : Postfix expression of func. See yanera_postfix for more information.

Definition at line 283 of file yanera.h.

Function type layers info : Array of function parameter names, eg. 'a,b,c,...'

Definition at line 288 of file yanera.h.

Function type layers info : Array of pointers to the parameter array, one for each 'a,b,c,...' that is found in parm_name

Definition at line 294 of file yanera.h.

Function type layers info : Number of function parameter names, eg. 'a,b,c,d'=4

Definition at line 299 of file yanera.h.

short _layer::thik

Parameter pointer : Layer thickness or box width

Definition at line 303 of file yanera.h.

short _layer::sigz

Parameter pointer : Layer roughness

Definition at line 307 of file yanera.h.

short _layer::cntr

Parameter pointer : Center of box/gaussian component

Definition at line 311 of file yanera.h.

short _layer::rsld

Parameter pointer : Real value of the scattering length density

Definition at line 315 of file yanera.h.

short _layer::isld

Parameter pointer : Imag. value of the scattering length density

Definition at line 319 of file yanera.h.

short _layer::rmag

Parameter pointer : Magnetic scattering length density

Definition at line 323 of file yanera.h.

Additional flags : Include the layer in the model?

Definition at line 327 of file yanera.h.

unsigned short _layer::repeat_flag

Additional flags : Used to distinguish repeating layers when writing output

Definition at line 332 of file yanera.h.

Additional flags : Polarization type. See polarized_type.

Definition at line 336 of file yanera.h.

struct _layer* _layer::prev [read]

Linked list : self-explained

Definition at line 340 of file yanera.h.

struct _layer* _layer::next [read]

Linked list : self-explained

Definition at line 344 of file yanera.h.


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

Generated on Thu May 29 10:56:34 2008 by  doxygen 1.5.5