Skip to content

All settings

Every setting of the window that the User guide and the Feature reference describe in a settings table, grouped by where it is: the model-tree page, the dialog or the menu. Use the search box (or your browser's find) with the label as it appears in the window, or with the configuration field saved in the .pinn.json file.

Each row gives the label, a short meaning, the default, the allowed values and the configuration field. What the setting does in detail, its mathematics, how it interacts with other settings and its limitations are on the pages linked under Explained in. Which methods can be combined is on Compatibility of methods.

Defaults

Default is the value the window shows for a new problem (a loaded example sets its own values). When an older problem file lacks a field, the field takes the PINNConfig default listed on Configuration schema; the two can differ.

This page is generated by tools/docs/make_settings_index.py from the settings tables of the other pages, so it changes when they do.

Problem page

Setting Meaning Default Allowed values Config field Explained in
Examples: (first list) Which examples the second list offers: Forward or Inverse Forward — — Problem
Examples: (second list) The example loaded; None for your own problem None — template_type and the example's origin Problem
Examples: (third list) Default or Tuned settings for the next example loaded Default — — Problem
ODE (t) / 1D (x) / 2D (x, y) / 3D (x, y, z) Problem dimension 1D — problem_dim ("ODE", "1D", "2D", "3D") Problem
Time Dependent / Stationary With or without a time axis Time Dependent — steady_state Problem, Forward problems
Forward / Inverse Problem type Forward — problem_type ("Forward", "Inverse") Problem, Forward problems

Equations page

Setting Meaning Default Allowed values Config field Explained in
Outputs: Number of network outputs 1 1–10 num_outputs Equations, outputs and constants, ODEs and PDEs, Coupled systems
Equations: Number of residuals; reset to the number of outputs whenever Outputs: changes 1 1–10 num_equations (0 = one per output) Equations, outputs and constants, ODEs and PDEs, Coupled systems
∫ points: (ODE only) Gauss–Legendre points for integral(...) 20 2–200 integral_points Equations, outputs and constants, ODEs and PDEs
Constants: Named values, e.g. Re = 20, nu = 1/Re none number or expression of math functions and earlier constants constants (JSON list of {name, value}) Equations, outputs and constants, ODEs and PDEs
Output n name: Name used in the expressions u, v, w, p, then u5, … a Python name, see below output_names (comma-separated) Equations, outputs and constants, ODEs and PDEs, Coupled systems
PDE n (residual = 0): The residual expression du_t - 0.4 * du_xx (1D; a new ODE system: du_t + 0.4 * u) expression pde_expressions (|-separated) Equations, outputs and constants, ODEs and PDEs
Fractional α: Order of frac(...) (shown while an equation uses it) 1.5 number in (0, 2), a constant, or an inverse unknown's name fractional_alpha Equations, outputs and constants, ODEs and PDEs
Resolution: Discretization of frac(...) 100 1D: one integer; 2D: two (directions, points per unit length, e.g. 8, 100); 3D: three (8, 8, 100); each at least 2 fractional_resolution Equations, outputs and constants, ODEs and PDEs
Mesh: dynamic or static fractional mesh dynamic dynamic, static (static on a 1D Interval only) fractional_meshtype Equations, outputs and constants, ODEs and PDEs

Geometry page

Setting Meaning Default Allowed values Config field Explained in
x: … to … x limits (Interval, Rectangle, Cuboid) 0 to 1 — x_min, x_max Geometry and domain, Geometry
y: … to … y limits (Rectangle, Cuboid) 0 to 1 — y_min, y_max Geometry and domain
z: … to … z limits (Cuboid) 0 to 1 — z_min, z_max Geometry and domain
t: … to … Time interval 0 to 1 — t_min, t_max Geometry and domain, Geometry
Shape: Domain shape (2D/3D) Rectangle (2D), Cuboid (3D) — geometry_type ("Custom" for Custom and Sketch), geom_sketch Geometry and domain
Center: Disk, ellipse or sphere centre 0.5, 0.5 (, 0.5) — geom_center_x, geom_center_y, geom_center_z Geometry and domain, Geometry
Ellipse: Center:, Semi-axes: (semi-major, semi-minor), Angle (rad): — (0.5, 0.5), 0.5 and 0.3, 0 — geom_center_x, geom_center_y, geom_semi_major, geom_semi_minor, geom_angle Geometry
Radius: Disk or sphere radius 0.5 — geom_radius Geometry and domain
Semi-axes: Ellipse semi-major, semi-minor axis 0.5, 0.3 — geom_semi_major, geom_semi_minor Geometry and domain
Angle (rad): Ellipse rotation 0 — geom_angle Geometry and domain
Vertices: (Triangle) Three vertices 0,0;1,0;0,1 — geom_triangle_vertices Geometry and domain, Geometry
Vertices: (Polygon) Vertices in order 0,0;1,0;1,0.6;0.5,1;0,0.6 — geom_polygon_vertices Geometry and domain, Geometry
Sphere: Center: (x, y, z), Radius: — (0.5, 0.5, 0.5), 0.5 — geom_center_x, geom_center_y, geom_center_z, geom_radius Geometry
Shapes (combined top to bottom): Custom or sketched shape list, each with Combine: and Shape: one rectangle 0–1 — geom_custom_shapes_json Geometry and domain, Geometry
Sketch: drawn on the Sketch tab — — — geom_custom_shapes_json, geom_sketch = true Geometry

Collocation points page

Setting Meaning Default Allowed values Config field Explained in
Domain points: Collocation points inside the domain (space–time for a time-dependent problem) 2000 1–10,000,000 num_domain Collocation points, Forward problems
Boundary points: Points on the boundary 200 0–2,000,000 num_boundary Collocation points, Forward problems
Initial points: Points at \( t = t_{\min} \) 200 0–2,000,000 num_initial Collocation points, Forward problems, Initial conditions and imported data
Test points: Points for the test loss (not trained on) 1000 10–10,000,000 num_test Collocation points, Forward problems
Point distribution: How the points are sampled Hammersley Hammersley, uniform, Halton, LHS, Sobol, pseudo point_distribution Collocation points, Forward problems
Extra training points: Additional fixed points (DeepXDE anchors) None None, From a file, Random in a box anchors_mode, anchors_file, anchors_count (1000), anchors_box Collocation points, Forward problems
(file box) Points file empty — anchors_file Collocation points
Count: Number of random extra points 1000 1 – 1,000,000 anchors_count Collocation points
Ranges: lo,hi per input, ;-separated blank (whole domain) — anchors_box Collocation points
View domain & point distribution Draw the sampled points (2D/3D) off — not saved Collocation points

Initial conditions page

Setting Meaning Default Allowed values Config field Explained in
IC for name This output's initial condition is a loss term on — ic_active (comma-separated True/False) Initial conditions, Initial conditions and imported data
Exact (built into the network) Exact initial condition off — ic_hard Initial conditions, Initial conditions and imported data, Exact constraints
formula box \( u_0(\mathbf{x}) \) in x, y, z 1D sin(pi*x), 2D sin(4*pi*x)*cos(4*pi*y) expression ic_expressions (|-separated) Initial conditions, Initial conditions and imported data
Load IC from file (… format) Output 0's initial condition from a file off — forward_ic_from_file, forward_ic_file Initial conditions, Initial conditions and imported data
(file box) The IC file empty — forward_ic_file Initial conditions
Also check the equation at the file's points The file's points are also anchors of the equation off — ic_file_anchors Initial conditions, Initial conditions and imported data

Boundary conditions page

Setting Meaning Default Allowed values Config field Explained in
Exact periodicity (periodic inputs) Periodic input features on every periodic axis off — periodic_inputs Boundary conditions, Exact constraints
Type: The condition type Dirichlet BC Dirichlet BC, Neumann BC, Robin BC, Periodic BC, Point Set BC, Point Set Operator BC (advanced, from file), Operator BC (advanced), Interface 2D BC (advanced, Rectangle/Polygon only) type: dirichlet, neumann, robin, periodic, pointset, pointset_operator, operator, interface2d Boundary conditions, Boundary conditions
Output: (BC row) Which output a boundary condition constrains (1 = first) 1 the problem's outputs custom_bc_json (component, 0-based) Boundary conditions, Coupled systems, Boundary conditions
Where: Part of the boundary: a named choice or Custom expression… Whole boundary see below location Boundary conditions, Boundary conditions
Value: / Function (func): Target value or operator expression 0 expression value Boundary conditions, Boundary conditions
Periodic in:, Derivative order: Periodic axis and whether values (0) or first derivatives (1) are matched x, 0 the problem's axes; 0–1 axis, deriv_order Boundary conditions, Boundary conditions
Derivative order: 0: values equal; 1: first derivatives equal 0 — deriv_order Boundary conditions
Points: Point Set rows: From file (coordinate columns, then the value column(s); commas, semicolons or spaces; header, missing-value and wrong-width rows skipped with a note), Typed list or Generated (a count, on the boundary (Where) or in the domain) From file count 1–1,000,000 (default 10) points_mode, points_file, points_list, points_count, points_where Boundary conditions, Boundary conditions
Target values: From the file's value column(s) or Formula (| between components) From the file — values_mode, values_formula Boundary conditions, Boundary conditions
Components (comma-separated): Point Set BC: several outputs against one file (one value column each) blank (uses Output:) output numbers components Boundary conditions, Boundary conditions
Batch size (0 = off):, Shuffle Point Set rows: a random batch of the points, resampled during training 0, on 0–1,000,000 batch_size, shuffle Boundary conditions, Boundary conditions
Applies on: Operator BC: the boundary or the initial time (t = t₀) the boundary — apply_at (boundary, initial) Boundary conditions, Boundary conditions
Where (side 2):, Direction: Interface 2D BC: the second edge and normal or tangent blank, normal — location2, direction Boundary conditions, Boundary conditions

Inverse problem page

Setting Meaning Default Allowed values Config field Explained in
Name The unknown's name as used in the equations trainable_variable_1 a Python name (letters, digits, _, not starting with a digit, not a keyword) inverse_variables_json (name) Inverse problems and measured data, Inverse problems
Initial guess Value when training starts 1.0 any number inverse_variables_json (init) Inverse problems and measured data, Inverse problems
True value Known answer, drawn as a dashed line on the convergence plot and used for the parameter error; never used in training blank optional number inverse_variables_json (true) Inverse problems and measured data, Inverse problems
File: A measured-data file (.txt, .dat, .csv) — path inverse_obs_files_json (path) Inverse problems and measured data, Observational data
Measures: Which output the values are, or Custom... for an expression of the outputs Output 1 Output 1 (name), …, Custom... inverse_obs_files_json (output_idx, custom_expr) Inverse problems and measured data, Observational data
custom expression Expression of the outputs by name, e.g. sqrt(u**2+v**2) blank expression custom_expr Observational data
Loss weight: Weight of this file's data term 100 any number inverse_obs_files_json (weight) Inverse problems and measured data, Loss weights, Observational data
Check the equation at the measured points too (anchors) Measured points are also collocation points on — inverse_obs_anchors Inverse problems and measured data, Observational data
Use: All points, Grid: points per axis or Random points All points — inverse_obs_reduce (all, grid, random) Inverse problems and measured data, Observational data
grid number Points kept along each space axis 51 2–100,000 inverse_obs_grid_n Inverse problems and measured data, Observational data
random number Points kept per file 1000 1–10,000,000 inverse_obs_random_n Inverse problems and measured data, Observational data

Neural network page

Setting Meaning Default Allowed values Config field Explained in
Hidden layers: Number of hidden layers 3 1–50 layers Neural network, Networks and Fourier features
Neurons per layer: Width of every hidden layer 64 1–4096 layers Neural network, Networks and Fourier features
Widths per layer: Widths of each hidden layer, e.g. 128, 64, 32; overrides the two above blank positive integers layers Neural network, Networks and Fourier features
Activation: Hidden-layer activation tanh tanh, sin, Sigmoid, ReLU, SiLU, Swish, ELU, GELU, SELU activation Neural network, Networks and Fourier features
Kernel initializer: Weight initialization Glorot uniform Glorot uniform, Glorot normal, He uniform, He normal, zeros kernel_initializer Neural network, Networks and Fourier features
Network type: One shared network or one per output FNN FNN, PFNN, MsFFN, STMsFFN network_type Neural network, Coupled systems, Networks and Fourier features
Fourier scales (σ): Scales of the Fourier features 1, 10 positive numbers, comma-separated msffn_sigmas Neural network, Networks and Fourier features
Time scales (σₜ): Scales of the time features (STMsFFN) 1, 10 positive numbers msffn_sigmas_t Neural network, Networks and Fourier features
Enable input transform Transform the inputs off — input_transform_enabled, input_transform_mode Neural network, Networks and Fourier features
Mode: (input) Scale/shift or Formula Scale/shift — input_transform_mode (scale, formula) Neural network
input Scale/shift rows \( x \mapsto a x + b \) per input ×1 +0 −10⁶–10⁶ input_transform_scale, input_transform_shift Neural network, Networks and Fourier features
input Formula Network input features, ;-separated, in x, y, z, t blank expressions input_feature_formula Neural network, Networks and Fourier features
Enable output transform Transform the outputs off — output_transform_enabled, output_transform_mode Neural network, Networks and Fourier features
Mode: (output) Scale/shift or Formula Scale/shift — output_transform_mode Neural network
output Scale/shift rows \( y \mapsto a y + b \) per output ×1 +0 −10⁶–10⁶ output_transform_scale, output_transform_shift Neural network, Networks and Fourier features
output Formula rows One formula per output in the coordinates and the raw outputs by name; blank = unchanged blank expressions output_transform_formula (|-separated) Neural network, Networks and Fourier features

Training page

Setting Meaning Default Allowed values Config field Explained in
Optimizer: Adam, AdamW, L-BFGS or NNCG phase 1 Adam, phase 2 L-BFGS — optimizer (adam, adamw, lbfgs, nncg) Training phases, Optimizers and training phases
Iterations: Iterations of this phase (L-BFGS: its maximum) 10,000 and 10,000 0–100,000,000 iterations Training phases, Optimizers and training phases
Learning rate: Initial learning rate (hidden for L-BFGS and NNCG) 0.001 10⁻¹²–10 lr Training phases, Optimizers and training phases
Learning rate decay: None, Step, Cosine, Exponential, Inverse time (hidden for L-BFGS and NNCG) None — decay_type Training phases, Optimizers and training phases
Step size: / Gamma: (Step) Multiply the rate by γ every s iterations 5000 / 0.9 ≥ 1 / ≥ 0 decay_p1 / decay_p2 Training phases, Optimizers and training phases
T_max (iters): / Eta min: (Cosine) Cosine decay to η_min over T_max iterations 5000 / 0 (switching to Cosine replaces the Step default 0.9 by 0) ≥ 1 / ≥ 0 decay_p1 / decay_p2 Optimizers and training phases
Gamma: (Exponential) Multiply the rate by γ every iteration 0.9999 0–1 decay_p1 Optimizers and training phases
Decay steps: / Decay rate: (Inverse time) \( \eta_0/(1 + r\,k/s) \) the values in the fields (5000 / 0.9 on a new phase; 1000 when switching from Exponential) ≥ 1 / ≥ 0 decay_p1 / decay_p2 Optimizers and training phases
Gamma: / Eta min: / Decay rate: Second decay number 0.9 (Step, Inverse time), 0.0 (Cosine) — decay_p2 Training phases
Loss function: Per-term loss MSE MSE, MAE loss Training phases, Optimizers and training phases
Use recommended L-BFGS settings Use DeepXDE's defaults below on — lbfgs_use_default Training phases, Settings menu, Optimizers and training phases
maxcor: Number of stored correction pairs 100 — lbfgs_maxcor Training phases, Optimizers and training phases
ftol: Tolerance on the relative change of the loss 0 — lbfgs_ftol Optimizers and training phases
gtol: Tolerance on the gradient 10⁻⁸ — lbfgs_gtol Optimizers and training phases
maxfun: Maximum loss evaluations 1.25 × the phase's Iterations — lbfgs_maxfun Optimizers and training phases
maxls: Maximum line-search steps per iteration 50 — lbfgs_maxls Optimizers and training phases
Precision: float32, or float64 for the whole run; the same setting as Settings › Float Precision... (the two always show the same value) float32 float32, float64 lbfgs_float_type (and float_type) Training phases, Optimizers and training phases
Enable IC-guided pre-training Pre-train on the initial conditions off — ic_pretrain Training phases, IC pre-training and guided learning
Train from start / Restore from checkpoint Train, or load saved weights and skip training Train from start — ic_pretrain_restore, ic_pretrain_restore_path Training phases, IC pre-training and guided learning
Optimizer: Adam only Adam Adam ic_pretrain_optimizer IC pre-training and guided learning
Iterations: Pre-training iterations 20,000 100–100,000,000 ic_pretrain_iterations Training phases, IC pre-training and guided learning
Learning rate: Its own learning rate 0.001 10⁻¹²–10 ic_pretrain_lr Training phases, IC pre-training and guided learning
Learning rate decay: As in a training phase None None, Step, Cosine, Exponential, Inverse time ic_pretrain_decay_type, _decay_p1, _decay_p2 Training phases, IC pre-training and guided learning
Loss function: As in a training phase MSE MSE, MAE ic_pretrain_loss Training phases, IC pre-training and guided learning
Test points: Test points of the pre-training dataset 10,000 100–100,000 ic_pretrain_num_test Training phases, IC pre-training and guided learning
Initial points: Initial points (hidden when the IC comes from a file) 1000 1–10,000 ic_pretrain_num_initial Training phases, IC pre-training and guided learning
(checkpoint path) Adam-trained pre-training model blank — ic_pretrain_restore_path Training phases

Training page: Training Callbacks

Setting Meaning Default Allowed values Config field Explained in
Early Stopping → Stop training when loss stops improving DeepXDE EarlyStopping off — cb_early_stopping Training phases, Optimizers and training phases
Min. delta: Smallest change that counts as an improvement 0 — cb_early_stopping_min_delta Training phases, Optimizers and training phases
Patience (iters): Iterations without improvement before stopping 2000 (1–1,000,000) — cb_early_stopping_patience Optimizers and training phases
Baseline loss: Stop if the loss does not get below this (none) — cb_early_stopping_baseline Optimizers and training phases
Monitor: Training loss or Testing loss Training loss — cb_early_stopping_monitor Optimizers and training phases
Start after (iters): Ignore the first iterations (needs DeepXDE ≥ 1.12) 0 — cb_early_stopping_start_from Optimizers and training phases
Point Resampling → Periodically resample collocation points DeepXDE PDEPointResampler off — cb_point_resampler Training phases, Optimizers and training phases
Resample every (iters): Period 100 (1–1,000,000) — cb_point_resampler_period Training phases, Optimizers and training phases
Resample PDE (domain) points / Also resample boundary-condition points Which points on / off — cb_point_resampler_pde_points / _bc_points Optimizers and training phases
Model Checkpoint See Checkpoints off — cb_model_checkpoint, … Training phases, Optimizers and training phases, Checkpoints and restoring
Check every (iters): Period of the check 1000 1–1,000,000 cb_checkpoint_period Training phases, Checkpoints and restoring
Only save when the monitored loss improves Save only an improvement on — cb_checkpoint_save_better_only Checkpoints and restoring
Monitor: Training loss or Testing loss Training loss — cb_checkpoint_monitor (train loss, test loss) Checkpoints and restoring
Training Timer → Stop training after a time budget DeepXDE Timer off — cb_timer Training phases, Optimizers and training phases
Available time (minutes): Budget 60 (0.5–100,000) — cb_timer_minutes Optimizers and training phases
Training Monitors → Watch expressions during training (diagnostic only) DeepXDE OperatorPredictor at fixed points, every n iterations off — training_monitors_enabled, training_monitors Training phases, Optimizers and training phases

Loss weights page

Setting Meaning Default Allowed values Config field Explained in
Use same weights for all phases One weight list for all phases on — scheduler_same_weights Loss weights, Optimizers and training phases, Loss weights
PDE n (name): Weight of equation n 1 any number loss_weights_multi, each phase's weights Loss weights, Initial conditions and imported data, Loss weights
BC n (type, output): Weight of boundary-condition row n 1 any number same Loss weights
IC n (name): Weight of output n's initial condition 100 (new problem) any number same Loss weights
Per-point weights: None, Residual-based attention (RBA), Self-adaptive (SA-PINN) None — point_weights (None, RBA, SA-PINN) Loss weights, RBA and SA-PINN
Decay γ: (RBA) Memory of the weights; they level off at about \( \eta/(1-\gamma) \) 0.999 \( 0 < \gamma < 1 \) rba_gamma Loss weights, RBA and SA-PINN
Step η: (RBA) How much \( \|r\|/\max\|r\| \) adds each step 0.01 \( > 0 \) rba_eta Loss weights, RBA and SA-PINN
Weights' learning rate: (SA-PINN) Learning rate of the weights' gradient ascent (Adam) 0.005 10⁻⁵–10 sa_lr Loss weights, RBA and SA-PINN
Keep the mean weight at 1 (SA-PINN) Rescale the weights to mean 1 after every step off — sa_normalize Loss weights, RBA and SA-PINN
During L-BFGS: Plain loss (weights off) or Keep the weights Plain loss (weights off) — point_weights_lbfgs (plain, keep) Loss weights, RBA and SA-PINN
Causal training Turn the method on off — causal_training Loss weights, Causal training
Time chunks: Number of equal time chunks \( M \) 32 2–1000 causal_chunks Loss weights, Causal training
Raise ε step by step (0.01 → 100) Use the ε schedule (Algorithm 1) on — causal_anneal Loss weights, Causal training
Fixed ε: Causality parameter when the schedule is off (disabled while it is on) 1.0 0.001–10⁶ causal_eps Loss weights, Causal training
Scale by initial losses … c = Automatic weights \( c / L_i(0) \) off (c = 5) \( c > 0 \) loss_weights_from_initial (0 = off) Loss weights, Loss weights

Adaptive training page

Setting Meaning Default Allowed values Config field Explained in
Method: None, Time Adaptive Training, Residual-based Adaptive Refinement (RAR) None — adapt_method (None, Time Adaptive, RAR), time_adaptive Adaptive training
Time step groups: rows Start time: → End time:, Steps (n): Each group splits \( [t_s, t_e] \) into n equal windows; ➕ Add step group adds a group one group 0 → 1, 10 steps steps 1–500 ta_step_groups (JSON list of {t_start, t_end, steps}) Adaptive training, Time windows and bc-PINN
IC grid resolution: Points per axis of the grid that carries the solution to the next window (squared in 2D, cubed in 3D) 201 (21 when switching to 3D) 201, 101, 51, 21, 11, or any integer typed in ta_grid_size Adaptive training, Time windows and bc-PINN
Enable transfer learning (warm start from previous step) Start each window from the previous window's weights off — ta_transfer_learning Adaptive training, Time windows and bc-PINN
Transfer optimizer: Which state is carried over: Adam (after the window's last Adam phase and its resampling rounds) or L-BFGS (as the window ended) Adam Adam, L-BFGS ta_transfer_optimizer Adaptive training, Time windows and bc-PINN
Growing time range: each window trains on [start, t] (one network) Approach I off needs transfer learning ta_growing Adaptive training, Time windows and bc-PINN
Backward compatibility (bc-PINN): keep the solution on earlier windows bc-PINN off needs transfer learning ta_backward Adaptive training, Time windows and bc-PINN
Weight: Loss weight of the backward-compatibility terms 100 0–10⁶ ta_backward_weight Adaptive training, Time windows and bc-PINN
Times/window: Stored times per window 10 1–1000 ta_backward_times Time windows and bc-PINN
Points: Stored points in space (a random subset of the window grid when it has more) 2000 1–1,000,000 ta_backward_points Time windows and bc-PINN
IC-guided learning: Fraction of the first Adam (or AdamW) phase's iterations spent on ICGL in each window 0.00 (off) 0–0.9 ta_icgl_fraction Adaptive training, IC pre-training and guided learning, Time windows and bc-PINN
Resampling rounds: Rounds per window (0 = off) 0 0–50 ta_resample_rounds Adaptive training, Time windows and bc-PINN
Points per round: Points added per round 200 1–100,000 ta_resample_points Adaptive training, Time windows and bc-PINN
Candidates per round: Random candidate points drawn in the window each round, ranked by residual 10,000 100–1,000,000 (at least Points per round:) ta_resample_candidates Adaptive training, Time windows and bc-PINN
Adam iterations per round: Training after each round 2000 1–1,000,000 ta_resample_iters Adaptive training, Time windows and bc-PINN
RAR training rounds: Number of refinement rounds 3 1–1000 rar_cycles Adaptive training, RAR
Residual sampling points: Random candidate points per round 50,000 1000–10,000,000 rar_candidates Adaptive training, RAR
Points added per round: Candidates with the largest residual added each round 500 1–10,000 rar_add_points Adaptive training, RAR
Adam iterations: First-order training after each round's points are added 20,000 0–100,000,000 rar_adam_iters Adaptive training, RAR
L-BFGS iterations: L-BFGS training after the Adam step of each round (0 = none) 10,000 0–100,000,000 rar_lbfgs_iters Adaptive training, RAR
Stop below mean residual: End the rounds once the mean |residual| of the candidates is below this off (0) ≥ 0 rar_tolerance Adaptive training, RAR
Points from: (RAR) Which equation's residual ranks RAR's new points All outputs (combined) All outputs (combined), Output 1, … rar_output_selector (−1 = all) Adaptive training, Coupled systems, RAR

Parameter sweep page

Setting Meaning Default Allowed values Config field Explained in
Enable Parameter Sweep Solve runs the sweep off — sweep_enabled Parameter sweeps, Sweeps and Bayesian optimization
Mode: One at a time, All combinations, Paired values, Bayesian search One at a time — sweep_mode (oat, grid, zip, bayes) Parameter sweeps, Sweeps and Bayesian optimization
Also run the current settings (baseline) A first run with the settings unchanged on for One at a time with 2+ parameters and for Bayesian search, off otherwise (until clicked) — sweep_include_baseline (auto, on, off) Parameter sweeps, Sweeps and Bayesian optimization
Runs: (Bayesian) Total runs, the baseline included 20 2–1000 sweep_bayes_calls Parameter sweeps, Sweeps and Bayesian optimization
Random first: (Bayesian) Starting runs before the model takes over (an in-space baseline counts as one; the rest are random) 5 1–100 sweep_bayes_initial Parameter sweeps, Sweeps and Bayesian optimization
Minimize: (Bayesian) Final loss, Final loss (unweighted) (each term divided by its weight), L2 error Final loss — sweep_bayes_objective (loss, loss_unweighted, l2) Parameter sweeps, Sweeps and Bayesian optimization
(no control) Seed of the Bayesian search's random numbers 0 integer sweep_bayes_seed Sweeps and Bayesian optimization
Parameter: What to vary (the list below) — — sweep_parameters (id) Parameter sweeps, Sweeps and Bayesian optimization
Values: List, Linear or Log List — sweep_parameters (mode) Sweeps and Bayesian optimization
list Comma-separated values, e.g. 0.001, 0.005, 0.01 — — values Sweeps and Bayesian optimization
Min / Max / Steps Range and number of values (Log needs Min, Max > 0) — / 1 / 5 −10¹²–10¹²; Steps 2–100 min, max, n Sweeps and Bayesian optimization

Results page

Setting Meaning Default Allowed values Config field Explained in
Save parameters: (inverse) How often the unknowns are recorded — No, Every 100 iters, Every 1000 iters, or a number inv_param_save Inverse problems and measured data, Results and plots, Inverse problems, Plots and data export
Save to: Folder for the run folders ~/PINNStudio_Results — save_dir (the run's own folder) Results and plots
Plot settings Figure style dialog — — plot_*, loss_plot_mode, loss_display_every, loss_plot_linewidth, loss_plot_log_y, … Results and plots
Error Analysis Reference data and metrics not set (examples: set) — ea_* (Error Analysis) Results and plots
Export Solution Solution data files off — export_* (Exporting a script) Results and plots
Outputs to plot: All outputs (with more than one), one output, or Custom... (an expression of the outputs and their derivatives, e.g. sqrt(u**2+v**2) or du_x, with a label) — — plot_output_idx, plot_all_outputs, plot_custom_expr, plot_custom_label Results and plots, Plots and data export
(Custom expression, label) Expression and label for Custom... blank — plot_custom_expr, plot_custom_label Results and plots
Plot type: The solution figure — see the table below plot_type Results and plots, Plots and data export
Enable solution data export Write the solution as text files after a forward Solve off — export_enabled Exporting a script, Plots and data export
Grid size (points per axis): Points along each axis of the bounding box 101 101, 51, 21, 11, or any integer export_grid_size Exporting a script, Plots and data export
Number of time snapshots: Equally spaced times over \( [t_{\min}, t_{\max}] \) 11 2–50 export_t_steps Exporting a script, Plots and data export

Plot settings dialog

Setting Meaning Default Allowed values Config field Explained in
General: Resolution (DPI): (300), Figure size: (Default, Square, Wide, Custom; Width × height:), Title:, X-axis label:, Y-axis label:, Title font size: (13), Panel title font size: (10), Axis label font size: (10), Legend font size:, Grid lines:, Significant digits: (4), Scientific notation: (auto, always, never), Written as: — — — plot_dpi, plot_figsize_mode, plot_figsize_w/_h, plot_title_override, plot_xlabel_override, plot_ylabel_override, plot_title_fontsize, plot_subplot_title_fontsize, plot_axis_label_fontsize, plot_legend_fontsize, plot_grid, plot_sig_digits, plot_sci_notation, plot_sci_style Plots and data export
Surface: Colour map: (jet), Error colour map:, Contour levels: (100), Grid resolution: (200), 3D grid resolution: (40), 3D view surface level:, Colour range: (automatic or fixed), colour bar, Time snapshots: (2), 1D surface: — — — plot_colormap, plot_err_colormap, plot_levels, plot_resolution, plot_resolution_3d, plot_iso_level, plot_auto_range, plot_vmin, plot_vmax, plot_colorbar, plot_n_2d_snapshots, plot_swap_xt Plots and data export
Line: Time steps to show: (5), Line width: (2), y = / z = slice, Reference in line comparisons: (Line, Dots), PINN line colour:, Reference line colour:, Error Analysis panels per row: (4), parameter-convergence plot settings — — — num_timesteps_line, plot_linewidth, line_slice_y(_auto), line_slice_z(_auto), plot_ref_style, plot_pinn_color, plot_ref_color, plot_ea_cols, param_plot_* Plots and data export
Animation: Frames: (20), Frame rate (fps): (10), Resolution (DPI): (150), Line width: (3), parameter-convergence animation settings — — — num_timesteps_anim, plot_fps, plot_dpi_anim, plot_linewidth_anim, param_anim_* Plots and data export
Loss: Show: (Train + Test totals, Each loss term, Totals and each term), Line width: (2), Loss axis: (logarithmic), Record every: (1000 iterations) — — — loss_plot_mode, loss_plot_linewidth, loss_plot_log_y, loss_display_every Plots and data export

Error Analysis dialog

Setting Meaning Default Allowed values Config field Explained in
Line comparison … / Surface comparison … Comparison figures on / on — ea_do_line, ea_do_surface Error Analysis, Error metrics
Surface comparison (PINN | Reference | Error) Surface figure on — ea_do_surface Error Analysis
L2 Relative Compute and show the relative L2 error on — ea_metric_l2 Error Analysis, Error metrics
MSE Compute and show the MSE off — ea_metric_mse Error metrics
Max Error Compute and show the maximum absolute error off — ea_metric_max Error metrics
Reference: Reference files or Exact solution formula Reference files — ea_ref_mode (files, formula) Error Analysis, Error metrics
reference files List of (time, file[, output]) none — ea_files Error Analysis, Error metrics
formula rows (name =) Exact solution per output in x, y, z, t (numpy names, erf, norm_cdf) blank — ea_ref_formula (|-separated) Error Analysis, Error metrics
Compare at times: Comparison times blank = 5 evenly spaced over \( [t_{\min}, t_{\max}] \) comma-separated ea_ref_times Error Analysis, Error metrics
Grid: Points per axis of the formula's reference grid 0 = 201 (1D), 101 (2D), 31 (3D) integer ea_ref_grid Error Analysis, Error metrics

Restore & visualize page

Setting Meaning Default Allowed values Config field Explained in
Model file: The saved .pt file — — not saved Restore & visualize, Checkpoints and restoring
Config: The model's configuration: <model>.json, else model_config.json, else (time windows) the step's step_config.json found automatically — not saved Restore & visualize, Checkpoints and restoring
Combine all detected steps into one full-domain animation For a model inside a time-window run: use every window on when steps are found — not saved Restore & visualize, Checkpoints and restoring
Optimizer used for this model: Adam or L-BFGS (how the model is compiled before restoring) from the config — not saved Checkpoints and restoring
Parameter names: Inverse models whose config lacks them blank — not saved Restore & visualize
Plot type: Surface, Line (time steps), Animation Line (GIF), Animation Surface (GIF); inverse: Parameter Convergence, Parameter Convergence (GIF) Surface (Parameter Convergence for an inverse model) — not saved Restore & visualize, Checkpoints and restoring
Output: An output, or Custom... with an expression and label Output 1 — not saved Restore & visualize, Checkpoints and restoring
Parameter names:, convergence files (➕ Add parameter file), Figures:, Log-scale y-axis Inverse models: the <name>_convergence.txt files, found in the run folder found automatically — not saved Checkpoints and restoring
Save to: Folder for the new figures — — not saved Checkpoints and restoring
Convergence files and true values: Inverse: <name>_convergence.txt files and true values found in the run folder — not saved Restore & visualize
mode Forward Model or Inverse Model (set from the config when it names unknowns) Forward Model — not saved Checkpoints and restoring

Settings menu

Setting Meaning Default Allowed values Config field Explained in
GPU / Hardware: Train on: — GPU when there is one GPU when there is one, CPU train_device (auto, cpu) Settings menu
GPU / Hardware: CPU threads: — Automatic 0 (Automatic) – number of CPUs cpu_threads Settings menu
GPU / Hardware: GPU device index: — 0 0–31 gpu_device_index Settings menu
GPU / Hardware: Max GPU memory to reserve (%): — 95 1–100 gpu_memory_fraction (0.95) Settings menu
Float Precision: Float type: — float32 float32, float64 float_type (and lbfgs_float_type, the Training page's Precision:) Settings menu
Random Seed: Fix random seed for reproducible runs — on — use_random_seed Settings menu
Random Seed: Seed: — 2026 0–2,147,483,647 random_seed Settings menu
Optimizer Settings: Weight decay (L2): (Settings › Optimizer Settings...) L2 regularization of the network weights 0 ≥ 0 weight_decay Settings menu, Networks and Fourier features