#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <netcdf.h>
#include <assert.h>
#include <time.h>
#include "crusde_api.h"
Functions | |
const char * | get_name () |
const char * | get_version () |
const char * | get_authors () |
PluginCategory | get_category () |
void | request_plugins () |
void | register_output_fields () |
const char * | get_description () |
void | run () |
void | clear () |
void | init () |
Initialize members that depend on registered values. | |
void | register_parameter () |
Register parameters this load function claims from the input. | |
void | set_model_data (double **data, int dim_x, int dim_y) |
Variables | |
double ** | data_out |
boolean | data_written |
char * | filename |
FILE * | out_file = NULL |
int | k |
int | l |
int | xmin |
int | ymin |
int | nlat |
int | nlon |
int | ds |
int | dim |
int | d |
int | x_pos |
int | y_pos |
int | z_pos |
TODO: add description
void clear | ( | ) |
Clean-up before this plug-in gets unloaded.
References data_written, filename, free(), and out_file.
const char* get_authors | ( | ) |
PluginCategory get_category | ( | ) |
return DATAOUT_PLUGIN
References DATAOUT_PLUGIN.
const char* get_description | ( | ) |
const char* get_name | ( | ) |
const char* get_version | ( | ) |
void init | ( | ) |
Initialize members that depend on registered values.
This function must not be called before register_parameter() unless none of the necessary values depends on parameters provided by the user, which are only set after they have been registered. This function is called some time after register_parameter().
References crusde_error(), crusde_get_dimensions(), crusde_get_gridsize(), crusde_get_min_x(), crusde_get_min_y(), crusde_get_out_file(), crusde_get_size_x(), crusde_get_size_y(), crusde_get_x_index(), crusde_get_y_index(), crusde_get_z_index(), d, data_out, dim, ds, filename, nlat, nlon, out_file, x_pos, xmin, y_pos, ymin, and z_pos.
void register_output_fields | ( | ) |
empty
void register_parameter | ( | ) |
Register parameters this load function claims from the input.
This function calls register_load_param() defined in crusde_api.h to register
void request_plugins | ( | ) |
empty
void run | ( | ) |
void set_model_data | ( | double ** | data, | |
int | dim_x, | |||
int | dim_y | |||
) |
set pointer to model result.
References data_out.
int d |
Referenced by InputHandler::getRegion(), init(), run(), and DatabaseManager::runDialogWindow().
double** data_out |
boolean data_written |
char* filename |
int l |
Referenced by XMLHandler::getNodesChildDataList(), and run().
int x_pos |
Referenced by get_value_at(), init(), register_output_fields(), and run().
int y_pos |
Referenced by get_value_at(), init(), register_output_fields(), and run().
int z_pos |
Referenced by get_value_at(), init(), register_output_fields(), and run().