|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_AT_OPT_INTERP_H__
2 #define __CS_AT_OPT_INTERP_H__
62 typedef struct _cs_at_opt_interp_t {
Definition: cs_measures_util.h:72
cs_real_t * time_window
Definition: cs_at_opt_interp.h:82
cs_real_t * time_weights
Definition: cs_at_opt_interp.h:81
cs_lnum_t * model_to_obs_proj_idx
Definition: cs_at_opt_interp.h:71
cs_at_opt_interp_type_t
Definition: cs_at_opt_interp.h:55
Definition: cs_at_opt_interp.h:58
cs_real_t * times
Definition: cs_at_opt_interp.h:78
bool obs_cov_is_diag
Definition: cs_at_opt_interp.h:68
#define END_C_DECLS
Definition: cs_defs.h:468
cs_real_t * b_proj
Definition: cs_at_opt_interp.h:73
int cs_at_opt_interp_is_p1_proj_needed(void)
Return 1 if a p1 projection has been enabled for at least one optimal interpolation....
Definition: cs_at_opt_interp.c:1278
void cs_at_opt_interp_project_model_covariance(cs_measures_set_t *ms, cs_at_opt_interp_t *oi)
Compute $\tens{H}\tens{B}\transpose{\tens{H}}$.
Definition: cs_at_opt_interp.c:1375
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
cs_real_t * times_read
Definition: cs_at_opt_interp.h:79
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
int n_log_data
Definition: cs_at_opt_interp.h:83
const char * name
Definition: cs_at_opt_interp.h:64
int * measures_idx
Definition: cs_at_opt_interp.h:77
cs_lnum_t * model_to_obs_proj_c_ids
Definition: cs_at_opt_interp.h:72
Definition: cs_at_opt_interp.h:57
int steady
Definition: cs_at_opt_interp.h:84
cs_at_opt_interp_t * cs_at_opt_interp_by_id(int id)
Return a pointer to an optimal interpolation based on its id.
Definition: cs_at_opt_interp.c:630
int * active_time
Definition: cs_at_opt_interp.h:80
cs_at_opt_interp_t * cs_at_opt_interp_create(const char *name)
Create an optimal interpolation descriptor.
Definition: cs_at_opt_interp.c:525
void cs_at_opt_interp_obs_operator(cs_measures_set_t *ms, cs_at_opt_interp_t *oi, cs_interpol_grid_t *ig)
Compute observation operator (H).
Definition: cs_at_opt_interp.c:1343
void cs_at_opt_interps_destroy(void)
Destroy all defined optimal interpolations.
Definition: cs_at_opt_interp.c:675
cs_real_t * relax
Definition: cs_at_opt_interp.h:75
void cs_at_opt_interp_read_file(char const filename[50], cs_measures_set_t *ms, cs_at_opt_interp_t *oi, const int f_dim)
Read an optimal interpolation file for a given variable and fill in the matching measures set and opt...
Definition: cs_at_opt_interp.c:715
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
int type_nudging
Definition: cs_at_opt_interp.h:86
int id
Definition: cs_at_opt_interp.h:65
int * cs_at_opt_interp_get_active_obs(cs_measures_set_t *ms, cs_at_opt_interp_t *oi, cs_field_t *f_oia, bool **inverse, int ***ao_idx)
Count active observations and compute time weights in case of unsteady.
Definition: cs_at_opt_interp.c:1434
void cs_at_opt_interp_map_values(cs_at_opt_interp_t *oi, cs_measures_set_t *ms)
(re)Allocate and fill in an optimal interpolation structure from an optimal interpolation file.
Definition: cs_at_opt_interp.c:1294
cs_at_opt_interp_t * cs_at_opt_interp_by_name(const char *name)
Return a pointer to an optimal interpolation based on its name.
Definition: cs_at_opt_interp.c:655
cs_real_t * model_to_obs_proj
Definition: cs_at_opt_interp.h:70
int ig_id
Definition: cs_at_opt_interp.h:66
cs_real_t * obs_cov
Definition: cs_at_opt_interp.h:67
cs_at_opt_interp_type_t interp_type
Definition: cs_at_opt_interp.h:69
Field descriptor.
Definition: cs_field.h:124
void cs_at_opt_interp_compute_analysis(cs_field_t *f, cs_at_opt_interp_t *oi, cs_field_t *f_oia, int n_active_obs, int *ao_idx, bool inverse, int mc_id)
Compute analysis for a given variable.
Definition: cs_at_opt_interp.c:1598
int nb_times
Definition: cs_at_opt_interp.h:76
Definition: cs_measures_util.h:47
int frequency
Definition: cs_at_opt_interp.h:85
Definition: cs_at_opt_interp.h:62