From 99a42e53c7606a60dabc81f71a2f87312737bd3f Mon Sep 17 00:00:00 2001 From: Davide Grilli Date: Wed, 13 May 2026 22:00:19 +0200 Subject: [PATCH] aggiunta istruzione commit in italiano e parametro X_SRC in config Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 4 ++++ config.py | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c39ad35..cfbaab8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,6 +2,10 @@ This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +## Commit Messages + +Write all git commit messages in Italian. + ## Project Overview **Heat Equation PINN** — A Physics-Informed Neural Network that solves the 1D time-varying heat equation with physical boundary conditions: diff --git a/config.py b/config.py index 32cdc6d..6c342aa 100644 --- a/config.py +++ b/config.py @@ -4,8 +4,9 @@ K = 1.0 # conducibilità termica [W/m·K] L = 1.0 # lunghezza barra [m] T0 = 20.0 # temperatura iniziale uniforme [°C] -# Sorgente a x=0 (Neumann step) -Q_VAL = 150.0 # flusso di calore applicato [W/m²] +# Sorgente di calore +X_SRC = 0.0 # posizione della sorgente [m], in [0, L] +Q_VAL = 150.0 # flusso di calore applicato [W/m²] T_STEP = 0.2 # istante di attivazione flusso [s] # Convezione a x=L (Robin)