
valid_log_abs_det_A0
valid_dot_products
valid_state_dependent_fields
valid_state_dependent_fields_previous
valid_parameters
valid_normalization    

/*********************************************************************************************/
valid_log_abs_det_A0

VARbase.c
CreateTheta_VAR()                     set invalid
ComputeLogAbsDetA0_All()              set valid
LogConditionalProbability_VAR()       checked and calls ComputeLogAbsDetA0_All() if necessary
ThetaChanged_VAR()                    set invalid

/*********************************************************************************************/
valid_dot_products

VARbase.c
CreateTheta_VAR()                     set invalid
ComputeDotProducts_All()              set valid
LogConditionalProbability_VAR()       checked
ThetaChanged_VAR()                    set invalid
InitializeForwardRecursion_VAR()      checked and calls ComputeDotProducts_All() if necessary
DrawZeta_DotProducts()                checked and calls ComputeDotProducts_All() if necessary
DrawA0_Metropolis()                   set invalid if jump accepted (this routine is probabily dangerous)

/*********************************************************************************************/
valid_state_dependent_fields

VARbase.c
CreateTheta_VAR()                     set invalid
StatesChanged_VAR()                   set invalid
DrawZeta_Aplus()                      checked and calls UpdateStateDependentFields() if necessary
DrawA0_Metropolis()                   checked and calls UpdateStateDependentFields() if necessary
DrawAplus()                           checked and calls UpdateStateDependentFields() if necessary
Draw_psi()                            checked and calls UpdateStateDependentFields() if necessary
Draw_lambda()                         checked and calls UpdateStateDependentFields() if necessary  
UpdateStateDependentFields()          set valid

/*********************************************************************************************/
valid_state_dependent_fields_previous

VARbase.c
CreateTheta_VAR()                     set invalid
UpdateStateDependentFields()          checked

This field is never set to one and so, in essence, is not used.

/*********************************************************************************************/
valid_parameters

VARbase.c
CreateTheta_VAR()                     set invalid
CreateConstantModel()                 set valid
LogConditionalProbability_VAR()       checked
DrawParameters_VAR()                  set valid
InitializeParameters_VAR()            set valid
LogPrior_VAR()                        checked
FreeParametersToVAR()                 set valid/invalid

VARio.c
Read_VAR_Parameters()                 set valid/invalid
Read_VAR_ParametersFlat()             set valid (probabily dangerous)
Read_VAR_Parameters_Original()        set valid/invalid

sbvar_simulate.c
dw_sbvar_simulate_command_line()      set valid

VARio_matlab.c
ReadConstantParameters()              set valid (probabily dangerous)

/*********************************************************************************************/
valid_normalization

VARbase.c
CreateTheta_VAR()                             set indeterminate 
ThetaChanged_VAR()                            set indeterminate/valid
Setup_No_Normalization_VAR()                  set valid
Setup_Diagonal_Normalization_VAR()            set indeterminate
Setup_Default_Recursive_Normalization_VAR()   set indeterminate 
Setup_Recursive_Normalization_VAR()           set indeterminate
Setup_WZ_Normalization_VAR()                  set indeterminate
IsNormalized_VAR()                            checked and set valid/invalid
Normalize_VAR()                               checked and set valid