FLOOXS » TclLib » Device

Device — TclLib Procs

107 documented proc(s) in TclLib/Device/.

3DTensorListToFlooxsTensor · 3DTensorListToFlooxsTensorAdd · 3DTensorTo2D · __alpha · __alphaInv · __approxFirstToSecondOrderRotation · __BuildHFromGeneric · __CompareBands · __CrowellSzeHole · __Det2x2 · __DetNxN · __DirectStatistics · __DOS1D · __DOS2D · __EllipsoidalMassTensor · __EnsureParams · __FirstKandaHallTensor · __IndirectStatistics · __interpolate_linear_vec · __Inv2x2 · __Inv3x3 · __InvNxN · __Make2x2 · __MapExpr · __MillerToRotation · __mult_sweep · __MultAx · __MultNxN · __ParseMillerDigits · __RotateTensor · __RotateTensorDiag · __RotateVector3 · __rotTen_F_Mat · __SolutionExpandRecursive · __Stats1D · __Stats2D · __Transpose · __xyzalpha · AddSolution · AddStressVector6 · BandGap · BandGapGamma · BandGapL · BandGapX · BandOverlapLoop · BuildH · BuildH110 · BuildHRot · ComputeModes · ComputeModesFull · CplxMult · Cubic::CubicSpline · Cubic::SolveTridiag · DGEquation · DimMap · DirectTunnelEnergy · ElecMobility · ElecMobility · ElecMobility · EllipsoidalMassTensor · Eqns · Eqns · EqnsLegacy · EqnsLegacy · EqnsSimple · Get3DHoleDPTensor · Get3DHoleDPTensor · GetAnisoCarrierTensor · GetConductivityTensor · GetdU · getHmobs · getHmobs0 · GetMobilityTensor · HoleMobility · HoleMobility · HoleMobility · Init · InterpBowing · InterpLinear · KKDiscretize · LatticeStrain · Ltun · MapTerm · Masetti · Masetti · Nc · NcGamma · NcL · NcX · PoissonSchrodinger · PolarizationCharge · Schenk · Schrodinger100Solve · SchrodingerDirectCurrent · SchrodingerDirectCurrentKPMeff · SchrodingerIndirectUnscaledTransmission · SchrodingerSolveEllipsoidal · SchrodingerSolveLVal · SchrodingerSolveXVal · Solve · SortLowHigh · SRH · ThermalConductivity · Transpose · Trapezoidal · UniformStress · VoxelVolumeTest

3DTensorListToFlooxsTensor

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Input: 3x3 Tensor/ Matrix list (3 dimensional list where the first two dimensions
are the 2D matrix and the 3rd dimension are other matricies)
All matricies are multiplied together by component
Returns: Flooxs tensor alagator expression

3DTensorListToFlooxsTensorAdd

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Input: 3x3 Tensor/ Matrix list (3 dimensional list where the first two dimensions
are the 2D matrix and the 3rd dimension are other matricies)
All matricies are added together by component
Returns: Flooxs tensor alagator expression

3DTensorTo2D

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Convert a 3D tensor to 2D by chopping off the z component

__alpha

file: TclLib/Device/floods/Utilities/Tensor/rotations.tcl

Build rotation matrix from XYZ Euler angles (degrees)

__alphaInv

file: TclLib/Device/floods/Utilities/Tensor/rotations.tcl

Inverse of XYZ rotation (negate angles, reverse order)

__approxFirstToSecondOrderRotation

file: TclLib/Device/floods/Utilities/Tensor/rotations.tcl

Build 6x6 Bond matrix from a 3x3 rotation matrix.
Converts first-order (vector) rotation to second-order (Voigt tensor) rotation.

__BuildHFromGeneric

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Build discretized Hamiltonian equations from the generic symbolic matrix.
R: rotation matrix (empty string for unrotated).

__CompareBands

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

Deduplicate equivalent bands

__CrowellSzeHole

file: TclLib/Device/floods/Silicon/Avalanche/CrowellSze.tcl

proc CrowellSze { driveForce Qfn Qfp Elec Hole Emob Hmob }

__Det2x2

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

returns the determinate of a 2x2 matrix

__DetNxN

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

puts [__Inv2x2 {{1 1} {1 -1}}]
laplace formula for determinate
returns the determinate of an NxN matrix
A is a matrix and N is the length of the sides

__DirectStatistics

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Statistics used in direct band to band tunneling
quantum calculations
Takes an energy, quasi fermis, and temperature

__DOS1D

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Returns the 1D Density of states value for a given
temperature and effective mass

__DOS2D

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Returns the 2D Density of states value for a given
temperature and effective mass

__EllipsoidalMassTensor

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

Legacy alias — older decks (and the auto-loaded tclIndex) reference the
underscored name.

__EnsureParams

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Initialize from Silicon if SetParams hasn't been called

__FirstKandaHallTensor

file: TclLib/Device/floods/Utilities/Strain/scalartensor.tcl

pi_mat is the calculated pi coefficeint matrix X_Vect is the stress vector(xx,yy,zz,yz,xz,xy), and uB is mobility times magnetic field vector (x,y,z)

__IndirectStatistics

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Statistics used in indirect band to band tunneling
quantum calculations
Takes an energy, quasi fermis, temperature, and phonon energy

__interpolate_linear_vec

file: TclLib/Device/floods/Utilities/Interpolate/interpolate.tcl

Vectorized linear interpolation for a sorted list of query points.
Single pass O(n+m) where n = len(x), m = len(xv).
Values outside the data range are clamped to the nearest endpoint.

__Inv2x2

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

returns the inverse of a 2x2 matrix

__Inv3x3

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

puts [MultNxN {{1 2} {3 4}} {{1 2} {4 3}} 2]
Returns the inverse of a 3x3 matrix

__InvNxN

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Generic NxN inverse via Gauss-Jordan elimination with partial pivoting.

__Make2x2

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Takes 4 scalars and returns a 2x2 matrix
[a b]
[c d]

__MapExpr

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Discretize a full expression (sum of terms) using MapTerm.

__MillerToRotation

file: TclLib/Device/floods/Utilities/Tensor/miller.tcl

Build a 3x3 rotation matrix from Miller indices.

Syntax:
  (hkl)<uvw>             — default: () → column 2 (z), <> → column 0 (x)
  (axis:hkl)<axis:uvw>   — explicit axis assignment

Examples:
  (001)<100>             — (001) surface, [100] channel. Normal→z, channel→x
  (x:001)<y:100>         — (001) surface normal along x, [100] along y
  (x:110)<z:1-10>        — (110) normal along x (1D quantum), [-110] along z

The third direction is always the cross product of the other two,
placed in whichever column remains.

The rotation matrix rows are crystal [100],[010],[001] directions.
The columns are device x,y,z directions.

__mult_sweep

file: TclLib/Device/floods/Utilities/Bias/linear.tcl

Multiplicative (geometric) sweep — same interface as __linear_sweep but
steps by multiplication instead of addition.  step is a factor (e.g. 1.2).

__MultAx

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Matrix A times vector x multiplication
Returns a vector

__MultNxN

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

multiplies two NxN matricies

__ParseMillerDigits

file: TclLib/Device/floods/Utilities/Tensor/miller.tcl

Parse a signed Miller index string (e.g., "001", "-110", "1-10") into a list of 3 integers.

__RotateTensor

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Takes a 3x3 Tensor list and crystal rotation vector
returns a rotated tensor

__RotateTensorDiag

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Same procedure but only outputs Diag

__RotateVector3

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Takes a 3 length list and crystal rotation vector

__rotTen_F_Mat

file: TclLib/Device/floods/Utilities/Tensor/rotations.tcl

Rotate a 4th order tensor (stored as 6x6 Voigt matrix) by angle psi around Z.
Full contraction: T'_ijkl = a_im a_jn a_ko a_lp T_mnop

__SolutionExpandRecursive

file: TclLib/Device/floods/Utilities/parse.tcl

Recursively expand solution variable references in an expression string.
Replaces solution names with their stored expressions until no more remain.
mater: material name for material-specific solution lookup
name: the solution variable to expand

__Stats1D

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Returns the 1D Density of states with integral function for a given
temperature, effective mass and potential

__Stats2D

file: TclLib/Device/floods/Generic/Quantum/statistics.tcl

Returns the 2D Density of states with integral function for a given
temperature, effective mass and potential

__Transpose

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Returns the transpose of matrix A

__xyzalpha

file: TclLib/Device/floods/Utilities/Tensor/rotations.tcl

Build 3x3 rotation matrix: Rz(Z) * Ry(Y) * Rx(X)
Input: {X Y Z} angles in degrees
Returns 6x6 Bond matrix for Voigt tensor rotation

AddSolution

file: TclLib/Device/floods/Utilities/Bias/pod.tcl

to do pod we need a set of solutions
this procedure adds a solution as a function of bias

AddStressVector6

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

Add vectors

BandGap

file: TclLib/Device/floods/SiGe/Bandstructure/bandgap.tcl

Effective (minimum) bandgap — for ni calculations
At x<~0.85 the X-valley is lowest; above that, L takes over.
We return a smooth minimum via Alagator ternary.

BandGapGamma

file: TclLib/Device/floods/SiGe/Bandstructure/bandgap.tcl

Gamma-valley (direct gap) — matters for optical transitions and direct tunneling

BandGapL

file: TclLib/Device/floods/SiGe/Bandstructure/bandgap.tcl

L-valley — dominant conduction band for Ge-rich alloys

BandGapX

file: TclLib/Device/floods/SiGe/Bandstructure/bandgap.tcl

X-valley (Delta minimum) — dominant conduction band for Si-rich alloys

BandOverlapLoop

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Loop over energies from the bottom of the conduction band to the 
top of the valance band. Only produces values if the bands overlap
fxn is a function that is called at every point in the loop with that energy
dU is the energy step size
mat is the material used

BuildH

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Build the LK 6-band k.p Hamiltonian, returning a list of 6 expression
strings for aschro / kaschro.

k_units: "m" (default) — broadcast k-parameters expected in 1/m.
         "cm"           — broadcast k-parameters in 1/cm (matches the
                          BEATS-3 KGrid convention; lifts free-k factors
                          by ×1e2 per free k inside KKDiscretize).

BuildH110

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Legacy (110) rotation — calls generic BuildHRot
Rotates yz plane: ky→(ky-kz)/√2, kz→(ky+kz)/√2, kx unchanged
Surface normal (0-11) along z, channel [100] along x

BuildHRot

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Build rotated LK Hamiltonian for arbitrary crystal orientation.
miller: Miller index string, e.g., (001)<100>, (001)<1-10>, (x:001)<z:100>
The Hamiltonian is built in the crystal frame then rotated to the device frame.
k_units: see BuildH for unit-convention details.

ComputeModes

file: TclLib/Device/floods/Utilities/Bias/pod.tcl

only take a subset of modes with this proc for ramping purposes

ComputeModesFull

file: TclLib/Device/floods/Utilities/Bias/pod.tcl

Next we need to compute the POD modes, fit the data
and build the alagator equations for each solution pde

CplxMult

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Multiply complex numbers that are stored as two separate values

Cubic::CubicSpline

file: TclLib/Device/floods/Utilities/Interpolate/cubicspline.tcl

#+##########################################################################

CubicSpline - returns the x,y coordinates of the cubic spline using
xy control points.
xy => {{x0 y0} {x1 y1} .... {xn yn}}

XY points MUST BE SORTED by increasing x

Cubic::SolveTridiag

file: TclLib/Device/floods/Utilities/Interpolate/cubicspline.tcl

#+##########################################################################
SolveTriDiag -- solves the linear system for tridiagoal NxN matrix A
using Gaussian elimination (no pivoting). Since A is sparse, we pass
in three diagonals:
    sub(i)  => a(i,i-1)    diag(i) => a(i,i)    sup(i)  => a(i,i+1)

Result is returned in b[1:n]

DGEquation

file: TclLib/Device/floods/Generic/DensityGradient/DG.tcl

# Full Density Gradient Correction:

DimMap

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Legacy DimMap — compatibility wrapper for ellipsoidal.tcl

DirectTunnelEnergy

file: TclLib/Device/floods/Generic/Quantum/b2btunnel.tcl

Computes the direct tunneling energy using the effective mass approximation
Takes an conduction band sub band energy Eci
Conduction band effective mass
Takes an valance band sub band energy Evi
Valance band effective mass

ElecMobility

file: TclLib/Device/floods/AlGaN/Mobility/mobility.tcl

set low field electron mobility via analytical expression from Farahmand for low field mobility

ElecMobility

file: TclLib/Device/floods/AlN/Mobility/mobility.tcl

set low field electron mobility via analytical expression from Farahmand for low field mobility
paramters for AlN for low field mobility from Farahmand

ElecMobility

file: TclLib/Device/floods/GaN/Mobility/mobility.tcl

set low field electron mobility via analytical expression from Farahmand for low field mobility
paramters for GaN for low field mobility from Farahmand

EllipsoidalMassTensor

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

Build the 3x3 inverse mass tensor for an ellipsoidal valley
with longitudinal mass ml along direction {dx dy dz} and
transverse mass mt perpendicular.

Eqns

file: TclLib/Device/floods/Germanium/Equations.tcl

Multi-valley FEQF via unified SiGe model.
Requires the mesh region to be named "SiGe".
For a "Germanium" region, use Germanium::EqnsLegacy.

Eqns

file: TclLib/Device/floods/Silicon/Equations.tcl

Multi-valley FEQF via unified SiGe model.
Requires the mesh region to be named "SiGe".
For a "Silicon" region, use Silicon::EqnsLegacy.

EqnsLegacy

file: TclLib/Device/floods/Germanium/Equations.tcl

Legacy single-valley Germanium equations with Hall tensor.

EqnsLegacy

file: TclLib/Device/floods/Silicon/Equations.tcl

Legacy multi-valley equations with Si-specific strain polynomial coefficients.
Call Silicon::EqnsLegacy T=Temp after FEQFDevicePackage in decks that need
the fitted piezoresistance tensor and strain-dependent hole k.p model.

EqnsSimple

file: TclLib/Device/floods/GaN/Equations.tcl

Single-valley GaN equations with Farahmand mobility and Caughey-Thomas
velocity saturation. No satellite valley transfer. Simpler to converge,
suitable for low-field or DC characterization.

Get3DHoleDPTensor

file: TclLib/Device/floods/Germanium/Strain/HoleModels.tcl

set kp    [GetKP $StressVector6 $StressRotation $CrystalRotation ]

Get3DHoleDPTensor

file: TclLib/Device/floods/Silicon/Strain/HoleModels.tcl

set kp    [GetKP $StressVector6 $StressRotation $CrystalRotation ]

GetAnisoCarrierTensor

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

takes a carrier vector
returns a tensor 3x3 list

GetConductivityTensor

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

takes a mobility vector, carrier type
returns a tensor 3x3 list

GetdU

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Get dU from the number of integration points that you want

getHmobs

file: TclLib/Device/floods/Germanium/Strain/HoleModels.tcl

This really doesn't work...

getHmobs0

file: TclLib/Device/floods/Silicon/Strain/HoleModels.tcl

This really doesn't work...

GetMobilityTensor

file: TclLib/Device/floods/Utilities/Tensor/tensor.tcl

takes a mobility vector
returns a tensor 3x3 list

HoleMobility

file: TclLib/Device/floods/AlGaN/Mobility/mobility.tcl

set hole mobility as constant

HoleMobility

file: TclLib/Device/floods/AlN/Mobility/mobility.tcl

set hole mobility as constant

HoleMobility

file: TclLib/Device/floods/GaN/Mobility/mobility.tcl

set hole mobility as constant

Init

file: TclLib/Device/floods/Utilities/Bias/pod.tcl

lastly we can make guesses using the POD equations for each solution

InterpBowing

file: TclLib/Device/floods/Utilities/Strain/lattice.tcl

Quadratic interpolation with bowing parameter for alloy properties.
Returns an Alagator expression: (1-x)*valA + x*valB - bow*x*(1-x)
x can be a numeric constant or an Alagator field name.

InterpLinear

file: TclLib/Device/floods/Utilities/Strain/lattice.tcl

Linear interpolation returning an Alagator expression.
x can be a numeric constant or an Alagator field name.

KKDiscretize

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Discretize ka*kb*s directly by index.
a,b: 0=x, 1=y, 2=z.  dim: number of discretized spatial dimensions.
hasI: 1 if the original term had an i* prefix on the k-product.

k_units: "m" (default, legacy) or "cm".
  "m":  free (broadcast) k-parameters are expected in 1/m, matching the
        eV·m² C constants in Peqn/Qeqn/Reqn/Seqn directly.  Confined
        directions get the existing 1e4 / 1e2 factors that lift the
        cm-meshed Grad/Vel back into m-units.
  "cm": broadcast k-parameters are in 1/cm (matches KGrid).  Each free
        k contributes one extra ×1e2 so the C·k product still lands in eV.

LatticeStrain

file: TclLib/Device/floods/Utilities/Strain/lattice.tcl

linear interpolation of strain using the starting lattice constant
and linearly interpolaring the change from the mole fraction

Ltun

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Compute the tunneling length in 1D
all parameters are optional
units are nm or um
Econd_o is an offset value for the conduction band
Eval is the name of the valance band
Econd is the name of the conduction band

MapTerm

file: TclLib/Device/floods/Generic/Quantum/LK.tcl

Discretize a single Hamiltonian term, optionally applying rotation R.
Parses coeff*[i*]ki*kj*s patterns; strain/constant terms pass through.
Returns a list of discretized terms (one for unrotated, up to 9 for rotated).

Masetti

file: TclLib/Device/floods/Germanium/Mobility/Masetti/model.tcl

Masetti Mobility Model from Sentaurus, P at end of parameter is Phospherous, B at end of parameter is Boron
See paper titled Electrical TCAD Simulations of a Germanium pMOSFET Technology

Masetti

file: TclLib/Device/floods/Silicon/Mobility/Masetti/model.tcl

Masetti Mobility Model from Sentaurus, P at end of parameter is Phospherous, B at end of parameter is Boron

Nc

file: TclLib/Device/floods/SiGe/Bandstructure/Nc.tcl

Aggregate electron DOS for ohmic contact calculations.
Returns X-valley Nc, which is the dominant valley in Si-rich compositions
and provides the correct contact boundary condition.

NcGamma

file: TclLib/Device/floods/SiGe/Bandstructure/Nc.tcl

Gamma-valley electron DOS (1-fold degeneracy)
Si: mGamma ≈ 0.036 (very light, high in the band structure)
Ge: mGamma ≈ 0.041

NcL

file: TclLib/Device/floods/SiGe/Bandstructure/Nc.tcl

L-valley electron DOS (4-fold degeneracy)
Ge: ml=1.59, mt=0.0815
Si: L-valley masses ml=1.42, mt=0.13
Computed inline (same method as Germanium::Nc) to match endpoint exactly.

NcX

file: TclLib/Device/floods/SiGe/Bandstructure/Nc.tcl

X-valley electron DOS (6-fold degeneracy)
Si: ml=0.9161, mt=0.1905 → md = 6^(2/3)*(ml*mt^2)^(1/3) ≈ 1.084
Ge: X-valley masses ml=1.35, mt=0.29 → md = 6^(2/3)*(ml*mt^2)^(1/3) ≈ 1.42

PoissonSchrodinger

file: TclLib/Device/floods/Generic/Quantum/poissonschrodinger.tcl

Silicon Electron and Hole Poisson-Schrodinger loop with predictor corrector
T is temperature, er is the oxide relative permittivity

PolarizationCharge

file: TclLib/Device/floods/AlGaN/Equations.tcl

Set polarization charge at a III-N heterointerface.
Creates the 2DEG at AlGaN/GaN interfaces via fixed sheet charge.
interface: the interface name (e.g., "AlGaN_GaN")
charge: sheet charge density in cm^-2 (positive = donor-like)

Schenk

file: TclLib/Device/floods/Generic/B2BTunnel/schenk.tcl

The driving force, SRH, band gap, and thermal voltage are arguments
This expression modifies an SRH like expression

Schrodinger100Solve

file: TclLib/Device/floods/Silicon/Quantum/silicon.tcl

Solve the sub bands along the [100] direction

SchrodingerDirectCurrent

file: TclLib/Device/floods/Generic/Quantum/b2btunnel.tcl

Computes direct tunnel current using the Bigelow method
Ec is the gamma electron sub band energies
EVc is the gamma electron eigen vector base names
mc is the gamma electron effective mass
Evlh is the light hole sub band energies
EVvlh is the light hole eigen vector base names
mvlh is the light hole effective mass
Evhh is the heavy hole sub band energies
EVvhh is the heavy hole eigen vector base names
mvhh is the heavy hole effective mass
Eg is the direct band gap
T is the temperature

SchrodingerDirectCurrentKPMeff

file: TclLib/Device/floods/Generic/Quantum/b2btunnel.tcl

Computes direct tunnel current using the Bigelow method assuming kp
Ec is the gamma electron sub band energies
EVc is the gamma electron eigen vector base names
mc is the gamma electron effective mass
Ev is the hole sub band energies
EV is the hole eigen vector base names
mv is the hole effective mass
Eg is the direct band gap
T is the temperature

SchrodingerIndirectUnscaledTransmission

file: TclLib/Device/floods/Generic/Quantum/b2btunnel.tcl

Computes indirect tunneling transmission for a given conduction and valance band
Ev is list of eigenvalues for the valance band
EVv is the valance band eigenvector base name
Ec is list of eigenvalues for the conduction band
EVc is the conduction band eigenvector base name
hw is the phonon energy
Mat is the material name
T is the temperature value or field
N is the Number of integration points
Returns units of inverse cm

SchrodingerSolveEllipsoidal

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

Solve the Schrodinger equation for a set of ellipsoidal valleys.

Arguments:
  Econd       - band edge potential name (Alagator field)
  ml          - longitudinal effective mass (m0 units)
  mt          - transverse effective mass (m0 units)
  directions  - list of valley direction vectors, e.g., {{1 0 0} {0 1 0} {0 0 1}}
  dotransport - compute transport mass if true
  nev         - number of eigenvalues
  prefix      - solution variable prefix (e.g., "EVX" or "EVL")
  alpha       - 3x3 crystal-to-device rotation matrix

SchrodingerSolveLVal

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

L-valley solver: 4 valleys along <111> directions

SchrodingerSolveXVal

file: TclLib/Device/floods/Generic/Quantum/ellipsoidal.tcl

X-valley solver: 6 valleys along <100> directions

Solve

file: TclLib/Device/floods/Utilities/Bias/pod.tcl

Run a Galerkin POD-projected Newton solve using the per-variable
bases stored in this namespace.  Returns the iteration count.  The
caller is expected to have already set up an initial guess (e.g. via
POD::Init) so the warm start lives in the column space of V.

SortLowHigh

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Sort a tcl list of numbers low to high

SRH

file: TclLib/Device/floods/Generic/Recombination/SRH.tcl

SRH recombination

ThermalConductivity

file: TclLib/Device/floods/GaN/Equations.tcl

Thermal properties (temperature-dependent for GaN)
k(T) = 2.6725 - 4.25e-3*T + 3.0e-6*T^2  W/cm·K
c(T) = 1.395 + 5.14e-3*T - 3.67e-6*T^2   J/cm³·K

Transpose

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Transpose a tcl list that is holding numeric matrix data

Trapezoidal

file: TclLib/Device/floods/Generic/Quantum/util.tcl

Simple trapezoidal integration formula
U is a list of evenly spaced values
dU is the separation of the values

UniformStress

file: TclLib/Device/floods/Silicon/Equations.tcl

Goal is to use this function

VoxelVolumeTest

file: TclLib/Device/floods/Utilities/Testing/voxel_test.tcl

VoxelVolumeTest — volume-integration regression check for voxel decks.

Loops over the FieldServer's currently-meshed bulk materials, integrates
each material's volume (`integrate eqn=Material($mat)`), and compares
against a stored gold-value dict. Drift > `bound` percent on any single
material fails the test. Platform-independent metric — replaces the
old structure-to-structure CompareStruct gating in voxel test decks.

Requires the deck to have called `meshvoxel` first (integrate operates
on the tet mesh, not the voxel brick).