yt.utilities.mesh_code_generation module

class yt.utilities.mesh_code_generation.MeshCodeGenerator(mesh_data)[source]

Bases: object

A class for automatically generating the functions and jacobians used for sampling inside finite element calculations.

get_interpolator_declaration()[source]

This returns the function declarations for the given mesh type.

get_interpolator_definition()[source]

This returns the function definitions for the given mesh type.