IOM_plugin_grid

About the IOM_plugin_grid class

The WaveBlocks Project

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012, 2013, 2014, 2015, 2016 R. Bourquin @license: Modified BSD License

Class documentation

The WaveBlocks Project

IOM plugin providing functions for handling grid data.

@author: R. Bourquin @copyright: Copyright (C) 2010, 2011, 2012 R. Bourquin @license: Modified BSD License

IOM_plugin_grid.add_grid(self, parameters, blockid=0)[source]

Add storage for a tensor product grid.

Parameters:
  • parameters – A ParameterProvider instance containing at least the keys number_nodes and dimension.
  • blockid – The ID of the data block to operate on.
IOM_plugin_grid.delete_grid(self, blockid=0)[source]

Remove the stored grid.

Parameters:blockid – The ID of the data block to operate on.
IOM_plugin_grid.has_grid(self, blockid=0)[source]

Ask if the specified data block has the desired data tensor.

Parameters:blockid – The ID of the data block to operate on.
IOM_plugin_grid.load_grid(self, blockid=0)[source]

Load the grid nodes.

Parameters:blockid – The ID of the data block to operate on.
IOM_plugin_grid.save_grid(self, gridnodes, blockid=0)[source]

Save the grid nodes.

Parameters:
  • gridnodes – The grid nodes to store.
  • blockid – The ID of the data block to operate on.