# Reference page for SlidingAirgap

## Contents

- Summary
- this = SlidingAirgap(
*arguments*) /this = SlidingAirgap(*arguments*) is a constructor. - this.compute_torque(
*arguments*) Torque computation method. - SlidingAirgap/this.deprecated_init(
*arguments*) is a function. - SlidingAirgap/this.fluxplot(
*arguments*) is a function. - SlidingAirgap/this.get_AGmatrix(
*arguments*) is a function. - SlidingAirgap/this.get_interpolatedMatrix(
*arguments*) is a function. - computing MTPA current trajectory
- SlidingAirgap/this.p_virt(
*arguments*) is a function. - SlidingAirgap/this.t_ag(
*arguments*) is a function. - SlidingAirgap/this.t_const(
*arguments*) is a function. - SlidingAirgap/this.t_moving(
*arguments*) is a function. - SlidingAirgap/this.tag_solution(
*arguments*) is a function. - TRIPLOT Plots a 2D triangulation

## Summary

SlidingAirgap methods: SlidingAirgap - is a class. compute_torque - Torque computation method. deprecated_init - SlidingAirgap/deprecated_init is a function. drawFluxLines - SlidingAirgap.drawFluxLines is a function. get_interpolatedMatrix - SlidingAirgap/get_interpolatedMatrix is a function. init - SlidingAirgap/init is a function. triplot - SlidingAirgap/triplot is a function. Documentation for SlidingAirgap doc SlidingAirgap

# PROPERTIES

- SlidingAirgap/P_fixed is a property.

- SlidingAirgap/Sconst is a property.

- SlidingAirgap/Sint is a property.

- SlidingAirgap/le_fixed is a property.

- SlidingAirgap/le_fixed_single is a property.

- SlidingAirgap/le_int is a property.

- SlidingAirgap/msh is a property.

- SlidingAirgap/n_fixed is a property.

- SlidingAirgap/n_int is a property.

- SlidingAirgap/r_int is a property.

- SlidingAirgap/t_fixed is a property.

- SlidingAirgap/t_int is a property.

# METHODS

Class methods are listed below. Inherited methods are not included.

## this = SlidingAirgap(*arguments*) /this = SlidingAirgap(*arguments*) is a constructor.

*this* = **SlidingAirgap**(model, n_bnd_static, n_bnd_moving, varargin)

## this.compute_torque(*arguments*) Torque computation method.

[Torque, Force] = **compute_torque**(*this*, solution)

## SlidingAirgap/this.deprecated_init(*arguments*) is a function.

## SlidingAirgap/this.fluxplot(*arguments*) is a function.

**fluxplot**(*this*, A, rotorAngle, potentials)

## SlidingAirgap/this.get_AGmatrix(*arguments*) is a function.

Sag = **get_AGmatrix**(*this*, rotorAngle, varargin)

## SlidingAirgap/this.get_interpolatedMatrix(*arguments*) is a function.

[Sint, P] = **get_interpolatedMatrix**(*this*, rotorAngle)

## computing MTPA current trajectory

## SlidingAirgap/this.p_virt(*arguments*) is a function.

**p_virt** = **p_virt**(*this*)

## SlidingAirgap/this.t_ag(*arguments*) is a function.

[a, b, tag] = **t_ag**(*this*, rotorAngle, varargin)

## SlidingAirgap/this.t_const(*arguments*) is a function.

**t_const** = **t_const**(*this*)

## SlidingAirgap/this.t_moving(*arguments*) is a function.

**t_moving** = **t_moving**(*this*)

## SlidingAirgap/this.tag_solution(*arguments*) is a function.

A_tag = **tag_solution**(*this*, A, rotorAngle)

## TRIPLOT Plots a 2D triangulation

TRIPLOT(TRI,X,Y) displays the triangles defined in the M-by-3 matrix TRI. A row of TRI contains indices into X,Y that define a single triangle. The default line color is blue.

TRIPLOT(TR) displays the triangles in the triangulation TR.

TRIPLOT(...,COLOR) uses the string COLOR as the line color.

H = TRIPLOT(...) returns a line handle representing the displayed triangles edges.

TRIPLOT(...,'param','value','param','value'...) allows additional line param/value pairs to be used when creating the plot.

Example 1: X = rand(10,2); dt = delaunayTriangulation(X); **triplot**(dt)

Example 2: % Plotting a Delaunay triangulation in face-vertex format X = rand(10,2); dt = delaunayTriangulation(X); tri = dt(:,:); **triplot**(tri, X(:,1), X(:,2));

See also TRISURF, TRIMESH, DELAUNAY, triangulation, delaunayTriangulation.