Skip to content

Project OpenGeode

class GridScalarFunction

class GridScalarFunction

Functions

GridScalarFunction

cpp
public void GridScalarFunction<dimension>(GridScalarFunction<dimension> && other)
public void GridScalarFunction<dimension>(GridScalarFunction<dimension> && other)

~GridScalarFunction

cpp
public void ~GridScalarFunction<dimension>()
public void ~GridScalarFunction<dimension>()

create

cpp
public GridScalarFunction create(const Grid<dimension> & grid, basic_string_view function_name, double value)
public GridScalarFunction create(const Grid<dimension> & grid, basic_string_view function_name, double value)

Create a new object function from a Grid, a name, and a value. Throws an exception if an attribute with the same name exists.

find

cpp
public GridScalarFunction find(const Grid<dimension> & grid, basic_string_view function_name)
public GridScalarFunction find(const Grid<dimension> & grid, basic_string_view function_name)

Finds an object function that already exists in the given Grid, from its given name. Throws an exception if no attribute with the same name exists.

set_value

cpp
public void set_value(const typename Grid<dimension>::VertexIndices & vertex_index, double value)
public void set_value(const typename Grid<dimension>::VertexIndices & vertex_index, double value)

set_value

cpp
public void set_value(index_t vertex_index, double value)
public void set_value(index_t vertex_index, double value)

value

cpp
public double value(const typename Grid<dimension>::VertexIndices & vertex_index)
public double value(const typename Grid<dimension>::VertexIndices & vertex_index)

value

cpp
public double value(index_t vertex_index)
public double value(index_t vertex_index)

value

cpp
public double value(const Point<dimension> & point, const typename Grid<dimension>::CellIndices & grid_cell_indices)
public double value(const Point<dimension> & point, const typename Grid<dimension>::CellIndices & grid_cell_indices)

class GridScalarFunction

Geode-solutions' documentation website