BISICLES AMR ice sheet model  0.9
Namespaces | Functions | Variables
cwrapper.cpp File Reference

Namespaces

 bisicles_c_wrapper
 

Functions

void f_bisicles_new_instance_ (int *instance_key, char *input_fname, const int *len_fname, const int *f_mpi_comm)
 
void f_bisicles_free_instance_ (int *instance_key)
 
void f_bisicles_write_checkpoint_ (int *instance_key)
 
void f_bisicles_write_plot_ (int *instance_key)
 
void f_bisicles_read_checkpoint_ (int *instance_key, char *checkpoint_fname, const int *len_fname)
 
void f_bisicles_set_2d_data_ (int *instance_key, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_set_2d_geometry_ (int *instance_key, double *thck_data_ptr, double *topg_data_ptr, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_get_2d_data_ (int *intance_id, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_init_instance_ (int *instance_key)
 
void f_bisicles_advance_ (int *instance_key, double *start_time, double *max_time, int *max_step)
 
void f_bisicles_new_instance (int *instance_key, char *input_fname, const int *len_fname, const int *f_mpi_comm)
 
void f_bisicles_free_instance (int *instance_key)
 
void f_bisicles_set_2d_data (int *instance_key, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_set_2d_geometry (int *instance_key, double *thck_data_ptr, double *topg_data_ptr, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_get_2d_data (int *intance_id, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_init_instance (int *instance_key)
 
void f_bisicles_advance (int *instance_key, double *start_time, double *max_time, int *max_step)
 
void f_bisicles_write_checkpoint (int *instance_key)
 
void f_bisicles_write_plot (int *instance_key)
 
void f_bisicles_read_checkpoint (int *instance_key, char *checkpoint_fname, const int *len_fname)
 
void bisicles_set_header_int (int *instance_key, const char *attr_key, const int *val)
 
void f_bisicles_set_header_int (int *instance_key, char *attr_key, const int *attr_key_len, const int *val)
 
void f_bisicles_set_header_dble (int *instance_key, char *attr_key, const int *attr_key_len, const double *val)
 
void f_bisicles_set_header_char (int *instance_key, char *attr_key, const int *attr_key_len, char *val, const int *len_val)
 
void f_bisicles_get_header_char (int *instance_key, char *attr_key, const int *attr_key_len, int *val)
 
void f_bisicles_get_header_dble (int *instance_key, char *attr_key, const int *attr_key_len, double *val)
 
void f_bisicles_get_header_char (int *instance_key, char *attr_key, const int *attr_key_len, char *val, const int *len_val)
 
void f_bisicles_set_header_int_ (int *instance_key, char *attr_key, const int *attr_key_len, const int *val)
 
void f_bisicles_set_header_dble_ (int *instance_key, char *attr_key, const int *attr_key_len, const double *val)
 
void f_bisicles_set_header_char_ (int *instance_key, char *attr_key, const int *attr_key_len, char *val, const int *len_val)
 
void f_bisicles_get_header_char_ (int *instance_key, char *attr_key, const int *attr_key_len, int *val)
 
void f_bisicles_get_header_int_ (int *instance_key, char *attr_key, const int *attr_key_len, int *val)
 
void f_bisicles_get_header_dble_ (int *instance_key, char *attr_key, const int *attr_key_len, double *val)
 
void f_bisicles_get_header_char_ (int *instance_key, char *attr_key, const int *attr_key_len, char *val, const int *len_val)
 
void init_bisicles_instance (BisiclesWrapper &a_wrapper)
 
void advance_bisicles_instance (BisiclesWrapper *wrapper_ptr, double start_time, double max_time, int max_step)
 
void bisicles_c_wrapper::defineDBL (DisjointBoxLayout &a_dbl, const int *dims, const int *boxlo, const int *boxhi)
 On-the-fly definition of a DisjointBoxLayout which assumes level data arranged as one rectangular box per processor. More...
 
void bisicles_set_2d_geometry (BisiclesWrapper *wrapper_ptr, double *thck_data_ptr, double *topg_data_ptr, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void bisicles_set_2d_data (BisiclesWrapper *wrapper_ptr, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void bisicles_get_2d_data (BisiclesWrapper *wrapper_ptr, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void bisicles_new_instance (int *instance_key, const char *input_fname, MPI_Comm mpi_comm)
 create a new BISICLES instance, return an integer key More...
 
void bisicles_init_instance (int *instance_key)
 initialize bisicles More...
 
void bisicles_free_instance (int *instance_key)
 free the BISICLES instance specified by instance_key More...
 
void bisicles_advance (int *instance_key, double *start_time, double *max_time, int *max_step)
 step BISICLES forward in time by up to max_time or max_steps (whichever is sooner) More...
 
void bisicles_set_2d_geometry (int *instance_key, double *thck_data_ptr, double *topg_data_ptr, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 Instruct BISICLES to read 2d geometry (ice thickness and bedrock eleveation) data from an arrays at thck_data_ptr, topg_data_ptr. More...
 
void bisicles_set_2d_data (int *instance_key, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 Instruct BISICLES to read 2d data from an array at data_ptr. More...
 
void bisicles_get_2d_data (int *instance_key, double *data_ptr, const int *field, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 Fill a rectangular array with 2D data from a BISICLES instance. More...
 
void bisicles_write_checkpoint (int *instance_key)
 write a checkpoint file More...
 
void bisicles_write_plot (int *instance_key)
 write a plot file More...
 
void bisicles_read_checkpoint (int *instance_key, const char *checkpoint_fname)
 read a checkpoint file More...
 
template<typename T >
void bisicles_set_header (int *instance_key, const char *attr_key, const T *val)
 set header data More...
 
template<typename T >
void bisicles_get_header (int *instance_key, const char *attr_key, T *val)
 get header data More...
 
void bisicles_get_header (int *instance_key, const char *attr_key, char *val)
 
void bisicles_set_header_dble (int *instance_key, const char *attr_key, const double *val)
 
void bisicles_set_header_char (int *instance_key, const char *attr_key, const char *val)
 
void bisicles_get_header_int (int *instance_key, const char *attr_key, int *val)
 
void bisicles_get_header_dble (int *instance_key, const char *attr_key, double *val)
 
void bisicles_get_header_char (int *instance_key, const char *attr_key, char *val)
 
BisiclesWrapper * bisicles_instance (int *instance_key)
 
void bisicles_push_pop_thin_ice (BisiclesWrapper *wrapper_ptr, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi, bool pop)
 
void bisicles_push_thin_ice (BisiclesWrapper *wrapper_ptr, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void bisicles_push_thin_ice (int *instance_key, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 push thin ice onto the ice sheet where thickness < thin_ice_limit, record the quantity needed in data_ptr More...
 
void bisicles_pop_thin_ice (BisiclesWrapper *wrapper_ptr, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void bisicles_pop_thin_ice (int *instance_key, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 pop ice from the top of the sheet where ice thinner is than thin_ice_limit, record the quantity needed in data_ptr More...
 
void f_bisicles_push_thin_ice (int *intance_id, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_pop_thin_ice (int *intance_id, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_push_thin_ice_ (int *intance_id, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 
void f_bisicles_pop_thin_ice_ (int *intance_id, double *data_ptr, const double *thin_ice_limit, const double *dx, const int *dims, const int *boxlo, const int *boxhi)
 

Variables

std::map< int, BisiclesWrapper * > bisicles_c_wrapper::instances
 

Function Documentation

◆ advance_bisicles_instance()

void advance_bisicles_instance ( BisiclesWrapper *  wrapper_ptr,
double  start_time,
double  max_time,
int  max_step 
)

Referenced by bisicles_advance().

◆ bisicles_advance()

void bisicles_advance ( int *  instance_key,
double *  start_time,
double *  max_time,
int *  max_step 
)

step BISICLES forward in time by up to max_time or max_steps (whichever is sooner)

References advance_bisicles_instance(), and bisicles_c_wrapper::instances.

Referenced by f_bisicles_advance(), and f_bisicles_advance_().

◆ bisicles_free_instance()

void bisicles_free_instance ( int *  instance_key)

free the BISICLES instance specified by instance_key

References bisicles_c_wrapper::instances.

Referenced by f_bisicles_free_instance(), and f_bisicles_free_instance_().

◆ bisicles_get_2d_data() [1/2]

void bisicles_get_2d_data ( BisiclesWrapper *  wrapper_ptr,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ bisicles_get_2d_data() [2/2]

void bisicles_get_2d_data ( int *  intance_id,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

Fill a rectangular array with 2D data from a BISICLES instance.

BISICLES will attempt to write FORTRAN ordered 2d data into data_ptr[boxlo[0]:boxlo[0],boxhi[0]:boxhi[0]]. Data will be averaged, interpolated or copied as needed: all three operations are conservative unless othrewise specified. The calling program is free to decompose the domain over multiple MPI ranks: BISICLES will then transfer data between ranks as it requires (which in inevitable in all but he simplest case where the calling program and BISICLES choose identical domain decompositions). Taken in total, the data should cover the whole of a uniform grid with mesh spacing dx and extent dims.

Parameters
[in]instance_keypointer to integer key, used to look up the instance
[in]data_ptrarray data, managed by the caller (BISICLES will not change the data_ptr, but will modify *data_ptr).
[in]dxuniform mesh spacing
[in]dimsgrid (i,j) domain dimensions, ie domain size is dx*(i,j)
[in]boxlolower left (i,j) corner of the data supplied by this rank
[in]boxhiupper right (i,j) corner of the data supplied by this rank

The data writtem depends on the field parameter. Supported values include

  • BISICLES_FIELD_SURFACE_ELEVATION
  • BISICLES_FIELD_BEDROCK_ELEVATION
  • BISICLES_FIELD_ICE_THICKNESS (ice thickness, arithmetic coarse average)
  • BISICLES_FIELD_ICE_THICKNESS_HARMONIC (ice thickness, harmonic coarse average, not conservative)
  • BISICLES_FIELD_CALVED_THICKNESS
  • BISICLES_FIELD_SURFACE_TEMPERATURE
  • BISICLES_FIELD_SURFACE_HEAT_FLUX
Todo:
: check all pointers

References bisicles_get_2d_data(), and bisicles_c_wrapper::instances.

◆ bisicles_get_header() [1/2]

template<typename T >
void bisicles_get_header ( int *  instance_key,
const char *  attr_key,
T *  val 
)

◆ bisicles_get_header() [2/2]

void bisicles_get_header ( int *  instance_key,
const char *  attr_key,
char *  val 
)
Todo:
: check all pointers

References AmrIce::getHeader(), and bisicles_c_wrapper::instances.

◆ bisicles_get_header_char()

void bisicles_get_header_char ( int *  instance_key,
const char *  attr_key,
char *  val 
)

◆ bisicles_get_header_dble()

void bisicles_get_header_dble ( int *  instance_key,
const char *  attr_key,
double *  val 
)

◆ bisicles_get_header_int()

void bisicles_get_header_int ( int *  instance_key,
const char *  attr_key,
int *  val 
)

◆ bisicles_init_instance()

void bisicles_init_instance ( int *  instance_key)

◆ bisicles_instance()

BisiclesWrapper* bisicles_instance ( int *  instance_key)
Todo:
: check all pointers

References bisicles_c_wrapper::instances.

Referenced by bisicles_pop_thin_ice(), and bisicles_push_thin_ice().

◆ bisicles_new_instance()

void bisicles_new_instance ( int *  instance_key,
const char *  input_fname,
MPI_Comm  comm 
)

create a new BISICLES instance, return an integer key

bisicles_new_instance (or its fortran compatible wrapper f_bisicles_new_instance) will normally be the first called by program making use of BISICLES. It creates a new BISICLES instance in memory and provides a unique key by which the calling program can identify it. Calls to bisicles_new_instance will typically be followed by calls to bisicles_set_2d_data, one call to bisicles_init_instance, several calls to bisicles_advance and bisicles_get_2d_data, and a final call to f_bisicles_free_instance

Parameters
[out]instance_keyinteger key, used to look up the instance
[in]input_fnameconfiguration file name
[in]commfor MPI compiled versions: allows the MIP communicator to be set by the calling program

References bisicles_c_wrapper::instances.

Referenced by f_bisicles_new_instance(), and f_bisicles_new_instance_().

◆ bisicles_pop_thin_ice() [1/2]

void bisicles_pop_thin_ice ( BisiclesWrapper *  wrapper_ptr,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ bisicles_pop_thin_ice() [2/2]

void bisicles_pop_thin_ice ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

pop ice from the top of the sheet where ice thinner is than thin_ice_limit, record the quantity needed in data_ptr

Exists to support thin ivce -> snow conversion in UniCicles. Removes the thin ice according to the thickness on BISICLES grid: fills data_ptr with the thickness in that region, coarsened/refined as needed

References bisicles_instance(), and bisicles_pop_thin_ice().

◆ bisicles_push_pop_thin_ice()

void bisicles_push_pop_thin_ice ( BisiclesWrapper *  wrapper_ptr,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi,
bool  pop 
)

◆ bisicles_push_thin_ice() [1/2]

void bisicles_push_thin_ice ( BisiclesWrapper *  wrapper_ptr,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ bisicles_push_thin_ice() [2/2]

void bisicles_push_thin_ice ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

push thin ice onto the ice sheet where thickness < thin_ice_limit, record the quantity needed in data_ptr

Exists to support thin ice -> snow conversion in UniCicles. Adds ice according to the thickness on BISICLES grid: fills data_ptr with the change in thickness in that region, coarsened/refined as needed

References bisicles_instance(), and bisicles_push_thin_ice().

◆ bisicles_read_checkpoint()

void bisicles_read_checkpoint ( int *  instance_key,
const char *  checkpoint_fname 
)

read a checkpoint file

Todo:
: check all pointers

References bisicles_c_wrapper::instances, and AmrIce::restart().

Referenced by f_bisicles_read_checkpoint(), and f_bisicles_read_checkpoint_().

◆ bisicles_set_2d_data() [1/2]

void bisicles_set_2d_data ( BisiclesWrapper *  wrapper_ptr,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ bisicles_set_2d_data() [2/2]

void bisicles_set_2d_data ( int *  instance_key,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

Instruct BISICLES to read 2d data from an array at data_ptr.

Parameters
[in]instance_keypointer to integer key, used to look up the instance
[in]data_ptrarray data managed by the caller.
[in]fieldpurpose of the data
[in]dxmesh spacing
[in]dimsgrid (i,j) domain dimensions, ie domain size is dx*(i,j)
[in]boxlolower left (i,j) corner of the data supplied by this rank
[in]boxhiupper right (i,j) corner of the data supplied by this rank

BISICLES will attempt to read FORTRAN ordered 2d data from data_ptr[boxlo[0]:boxlo[0],boxhi[0]:boxhi[0]] when computing certain fields, for example the surface mass balance. The calling program is free to decompose the domain over multiple MPI ranks: BISICLES will then transfer data between ranks as it requires (which in inevitable in all but he simplest case where the calling program and BISICLES choose identical domain decompositions). Taken in total, the data should cover the whole of a uniform grid with mesh spacing dx and extent dims.

What BISICLES actually does with the data depends on the field parameter. Supported values are defined in cdriverconstants.h and include

  • BISICLES_FIELD_SURFACE_FLUX,
  • BISICLES_FIELD_BASAL_FLUX,
  • BISICLES_FIELD_FLOATING_ICE_BASAL_FLUX
  • BISICLES_FIELD_GROUNDED_ICE_BASAL_FLUX
  • BISICLES_FIELD_SURFACE_TEMPERATURE
  • BISICLES_FIELD_SURFACE_HEAT_FLUX (for surface energy balance)
  • BISICLES_FIELD_BASAL_HEAT_FLUX (for geothermal heat)
  • BISICLES_FIELD_TOPOGRAPHY_FLUX (for GIA, sea level change)
Todo:
: check all pointers

References bisicles_set_2d_data(), and bisicles_c_wrapper::instances.

◆ bisicles_set_2d_geometry() [1/2]

void bisicles_set_2d_geometry ( BisiclesWrapper *  wrapper_ptr,
double *  thck_data_ptr,
double *  topg_data_ptr,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ bisicles_set_2d_geometry() [2/2]

void bisicles_set_2d_geometry ( int *  instance_key,
double *  thck_data_ptr,
double *  topg_data_ptr,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

Instruct BISICLES to read 2d geometry (ice thickness and bedrock eleveation) data from an arrays at thck_data_ptr, topg_data_ptr.

BISICLES will attempt to read FORTRAN ordered 2d data from thck_data_ptr[boxlo[0]:boxlo[0],boxhi[0]:boxhi[0]] and topg_data_ptr[boxlo[0]:boxlo[0],boxhi[0]:boxhi[0]] when computing the initial thickness and bedrock elevation, and (optionally) to recompute the bedrock following a regrid. The calling program is free to decompose the domain over multiple MPI ranks: BISICLES will then transfer data between ranks as it requires (which in inevitable in all but he simplest case where the calling program and BISICLES choose identical domain decompositions). Taken in total, the data should cover the whole of a uniform grid with mesh spacing dx and extent dims.

This special case exists because thck_data_ptr and *topg_data_ptr must be defined on the same BoxLayout, ruling out the use of bisicles_set_2d_data.

Do not attempt to use this function to modify the bedrock elevation due to e.g. GIA or sea level change. BISICLES only reads topg_data_ptr to set the initial condition and when the mesh is recomputed. Use bisicles_set_2d_data to set a rate of change of bedrock elevation.

Parameters
[in]instance_keypointer to integer key, used to look up the instance
[in]thck_data_ptrice thickness array data, managed by the caller.
[in]topg_data_ptrbedrock elevation array data, managed by the caller.
[in]dxmesh spacing
[in]dimsgrid (i,j) domain dimensions, ie domain size is dx*(i,j)
[in]boxlolower left (i,j) corner of the data supplied by this rank
[in]boxhiupper right (i,j) corner of the data supplied by this rank
Todo:
: check all pointers

References bisicles_set_2d_geometry(), and bisicles_c_wrapper::instances.

◆ bisicles_set_header()

template<typename T >
void bisicles_set_header ( int *  instance_key,
const char *  attr_key,
const T *  val 
)

◆ bisicles_set_header_char()

void bisicles_set_header_char ( int *  instance_key,
const char *  attr_key,
const char *  val 
)

◆ bisicles_set_header_dble()

void bisicles_set_header_dble ( int *  instance_key,
const char *  attr_key,
const double *  val 
)

◆ bisicles_set_header_int()

void bisicles_set_header_int ( int *  instance_key,
const char *  attr_key,
const int *  val 
)

◆ bisicles_write_checkpoint()

void bisicles_write_checkpoint ( int *  instance_key)

write a checkpoint file

Todo:
: check all pointers

References bisicles_c_wrapper::instances, and AmrIce::writeCheckpointFile().

Referenced by f_bisicles_write_checkpoint(), and f_bisicles_write_checkpoint_().

◆ bisicles_write_plot()

void bisicles_write_plot ( int *  instance_key)

write a plot file

Todo:
: check all pointers

References bisicles_c_wrapper::instances, and AmrIce::writePlotFile().

Referenced by f_bisicles_write_plot(), and f_bisicles_write_plot_().

◆ f_bisicles_advance()

void f_bisicles_advance ( int *  instance_key,
double *  start_time,
double *  max_time,
int *  max_step 
)

References bisicles_advance().

Referenced by fwrapper().

◆ f_bisicles_advance_()

void f_bisicles_advance_ ( int *  instance_key,
double *  start_time,
double *  max_time,
int *  max_step 
)

References bisicles_advance().

◆ f_bisicles_free_instance()

void f_bisicles_free_instance ( int *  instance_key)

References bisicles_free_instance().

Referenced by fwrapper().

◆ f_bisicles_free_instance_()

void f_bisicles_free_instance_ ( int *  instance_key)

◆ f_bisicles_get_2d_data()

void f_bisicles_get_2d_data ( int *  intance_id,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

References bisicles_get_2d_data().

Referenced by fwrapper().

◆ f_bisicles_get_2d_data_()

void f_bisicles_get_2d_data_ ( int *  intance_id,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_get_header_char() [1/2]

void f_bisicles_get_header_char ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
int *  val 
)

◆ f_bisicles_get_header_char() [2/2]

void f_bisicles_get_header_char ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
char *  val,
const int *  len_val 
)

◆ f_bisicles_get_header_char_() [1/2]

void f_bisicles_get_header_char_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
int *  val 
)

◆ f_bisicles_get_header_char_() [2/2]

void f_bisicles_get_header_char_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
char *  val,
const int *  len_val 
)

◆ f_bisicles_get_header_dble()

void f_bisicles_get_header_dble ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
double *  val 
)

◆ f_bisicles_get_header_dble_()

void f_bisicles_get_header_dble_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
double *  val 
)

◆ f_bisicles_get_header_int_()

void f_bisicles_get_header_int_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
int *  val 
)

◆ f_bisicles_init_instance()

void f_bisicles_init_instance ( int *  instance_key)

References bisicles_init_instance().

Referenced by fwrapper().

◆ f_bisicles_init_instance_()

void f_bisicles_init_instance_ ( int *  instance_key)

◆ f_bisicles_new_instance()

void f_bisicles_new_instance ( int *  instance_key,
char *  input_fname,
const int *  len_fname,
const int *  f_mpi_comm 
)

References bisicles_new_instance().

Referenced by fwrapper().

◆ f_bisicles_new_instance_()

void f_bisicles_new_instance_ ( int *  instance_key,
char *  input_fname,
const int *  len_fname,
const int *  f_mpi_comm 
)

◆ f_bisicles_pop_thin_ice()

void f_bisicles_pop_thin_ice ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

References bisicles_pop_thin_ice().

Referenced by fwrapper().

◆ f_bisicles_pop_thin_ice_()

void f_bisicles_pop_thin_ice_ ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_push_thin_ice()

void f_bisicles_push_thin_ice ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

References bisicles_push_thin_ice().

Referenced by fwrapper().

◆ f_bisicles_push_thin_ice_()

void f_bisicles_push_thin_ice_ ( int *  intance_id,
double *  data_ptr,
const double *  thin_ice_limit,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_read_checkpoint()

void f_bisicles_read_checkpoint ( int *  instance_key,
char *  checkpoint_fname,
const int *  len_fname 
)

◆ f_bisicles_read_checkpoint_()

void f_bisicles_read_checkpoint_ ( int *  instance_key,
char *  checkpoint_fname,
const int *  len_fname 
)

◆ f_bisicles_set_2d_data()

void f_bisicles_set_2d_data ( int *  instance_key,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

References bisicles_set_2d_data().

Referenced by fwrapper().

◆ f_bisicles_set_2d_data_()

void f_bisicles_set_2d_data_ ( int *  instance_key,
double *  data_ptr,
const int *  field,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_set_2d_geometry()

void f_bisicles_set_2d_geometry ( int *  instance_key,
double *  thck_data_ptr,
double *  topg_data_ptr,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_set_2d_geometry_()

void f_bisicles_set_2d_geometry_ ( int *  instance_key,
double *  thck_data_ptr,
double *  topg_data_ptr,
const double *  dx,
const int *  dims,
const int *  boxlo,
const int *  boxhi 
)

◆ f_bisicles_set_header_char()

void f_bisicles_set_header_char ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
char *  val,
const int *  len_val 
)

◆ f_bisicles_set_header_char_()

void f_bisicles_set_header_char_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
char *  val,
const int *  len_val 
)

◆ f_bisicles_set_header_dble()

void f_bisicles_set_header_dble ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
const double *  val 
)

◆ f_bisicles_set_header_dble_()

void f_bisicles_set_header_dble_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
const double *  val 
)

◆ f_bisicles_set_header_int()

void f_bisicles_set_header_int ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
const int *  val 
)

◆ f_bisicles_set_header_int_()

void f_bisicles_set_header_int_ ( int *  instance_key,
char *  attr_key,
const int *  attr_key_len,
const int *  val 
)

◆ f_bisicles_write_checkpoint()

void f_bisicles_write_checkpoint ( int *  instance_key)

◆ f_bisicles_write_checkpoint_()

void f_bisicles_write_checkpoint_ ( int *  instance_key)

◆ f_bisicles_write_plot()

void f_bisicles_write_plot ( int *  instance_key)

References bisicles_write_plot().

◆ f_bisicles_write_plot_()

void f_bisicles_write_plot_ ( int *  instance_key)

References bisicles_write_plot().

◆ init_bisicles_instance()

void init_bisicles_instance ( BisiclesWrapper &  a_wrapper)