YASK
Yet Another Stencil Kit: a software framework for creating HPC stencil code. Copyright 2014-2023 Intel Corporation.
Loading...
Searching...
No Matches
Public Member Functions | List of all members
yask::yc_index_node Class Referenceabstract

A dimension or an index in that dimension. More...

#include <yc_node_api.hpp>

+ Inheritance diagram for yask::yc_index_node:

Public Member Functions

virtual const std::string & get_name () const =0
 Get the dimension's name.
 
- Public Member Functions inherited from yask::yc_number_node
virtual yc_number_node_ptr clone_ast () const =0
 Create a deep copy of AST starting with this node.
 
- Public Member Functions inherited from yask::yc_expr_node
virtual std::string format_simple () const =0
 Create a simple human-readable string.
 
virtual int get_num_nodes () const =0
 Count the size of the AST.
 

Detailed Description

A dimension or an index in that dimension.

This is a leaf node in an AST. Created via yc_node_factory::new_step_index(), yc_node_factory::new_domain_index(), yc_node_factory::new_misc_index(), yc_node_factory::new_first_domain_index(), or. yc_node_factory::new_last_domain_index().

Member Function Documentation

◆ get_name()

virtual const std::string & yask::yc_index_node::get_name ( ) const
pure virtual

Get the dimension's name.

Returns
Name given at creation.

The documentation for this class was generated from the following file: