create_coordinate_system
Creates a 3D coordinate system for vector calculus operations, optionally with custom coordinate names.
Instructions
Creates a 3D coordinate system for vector calculus operations.
Args:
name: The name for the coordinate system.
coord_names: Optional list of coordinate names (3 names for x, y, z).
If not provided, defaults to [name+'_x', name+'_y', name+'_z'].
Example:
# Create a coordinate system
coord_sys = create_coordinate_system("R")
# Creates a coordinate system R with coordinates R_x, R_y, R_z
# Create a coordinate system with custom coordinate names
coord_sys = create_coordinate_system("C", ["rho", "phi", "z"])
Returns:
The name of the created coordinate system.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| coord_names | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |