<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Numerical Analysis on A Moment's Rest</title><link>https://a-moment096.github.io/zh/tags/numerical-analysis/</link><description>Recent content in Numerical Analysis on A Moment's Rest</description><generator>Hugo -- gohugo.io</generator><language>zh</language><lastBuildDate>Fri, 26 Jun 2026 15:20:58 +0000</lastBuildDate><atom:link href="https://a-moment096.github.io/zh/tags/numerical-analysis/index.xml" rel="self" type="application/rss+xml"/><item><title>相场模拟，但是用很多语言 IV</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_4/</link><pubDate>Mon, 22 Jun 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_4/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言 IV" /&gt;&lt;p&gt;&lt;em&gt;谈到编程，稍早一些的时候大家几乎都会提到 C 语言。本期我们就来试试之前番外中使用过的 C 语言吧！用它来跑调幅分解看看~&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;为保持系列的统一，头图我们依旧选择了上期出现的，由 &lt;a class="link" href="https://x.com/Neve_AI" target="_blank" rel="noopener"
 &gt;Neve_AI&lt;/a&gt; 绘制的 AI 爱丽丝。选曲则是最近（……）&lt;a class="link" href="https://space.bilibili.com/400813602/" target="_blank" rel="noopener"
 &gt;Ayase&lt;/a&gt; 上传到 B 站的 &lt;a class="link" href="https://www.bilibili.com/list/ml1197098078" target="_blank" rel="noopener"
 &gt;シネマ(CINEMA)&lt;/a&gt;，由初音未来献唱。很有 Ayase 味道的一首歌，也算是一代神曲了，希望您能喜欢~&lt;/em&gt;&lt;/p&gt;</description></item><item><title>相场模拟，但是用很多语言——番外</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_fourier/</link><pubDate>Sat, 30 May 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_fourier/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言——番外" /&gt;&lt;p&gt;&lt;em&gt;前几篇博文中，我们都使用了有限差分法来离散网格并计算 Cahn-Hilliard 方程的结果。这样的写法确实简单有效，但是问题是就没有别的更好的方法了吗？有的，兄弟！有的！那就是今天要向各位介绍的 &lt;strong&gt;傅里叶谱法&lt;/strong&gt;。在这个方法下，我们不需要再可怜兮兮地做网格差分了，而是从另一个神秘空间：&lt;strong&gt;谱空间&lt;/strong&gt; 去求解。本篇就以番外的形式，聊聊这个神奇的方法，关于它的数学原理，使用事项，以及实现时需要注意的若干细节。&lt;/em&gt;&lt;/p&gt;</description></item><item><title>相场模拟，但是用很多语言 III</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_3/</link><pubDate>Fri, 10 Apr 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_3/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言 III" /&gt;&lt;p&gt;&lt;em&gt;我们已经用了 C++ 和 Python 来进行相场模拟，除了这种典型的“后端”语言之外，前端能不能跑相场模拟呢？答案是肯定的！我们这次就试试 鼎鼎大名的 JavaScript 和 TypeScript 吧~&lt;/em&gt;&lt;/p&gt;</description></item><item><title>相场模拟，但是用很多语言 II</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_2/</link><pubDate>Wed, 01 Apr 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_2/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言 II" /&gt;&lt;p&gt;&lt;em&gt;上一节我们尝试了使用 C++ 来跑相场模拟。除了 C++ 之外，科学计算的另一大热门则是 Python 这门非常火爆的语言。Python 能带给这个模拟什么有趣的特点呢？它的实现可以怎么做呢？一起来看看吧~&lt;/em&gt;&lt;/p&gt;</description></item><item><title>相场模拟，但是用很多语言 I</title><link>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_1/</link><pubDate>Tue, 24 Mar 2026 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_note/impl_spinodal/impl_spinodal_1/</guid><description>&lt;img src="https://a-moment096.github.io/images/Alice-2.png" alt="Featured image of post 相场模拟，但是用很多语言 I" /&gt;&lt;p&gt;&lt;em&gt;目前做相场的大家似乎都在用 C++ 或者 Python 来跑相场，可是明明程序语言这么多……对吧？Why not？本系列就来整个小活儿，用各种各样的语言来实现某个相场模拟~ 不过千里之行始于足下，我们就从最常用的 C++ 开始吧！~&lt;/em&gt;&lt;/p&gt;</description></item><item><title>Phase Field: 相场模拟学习笔记 III</title><link>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_3/</link><pubDate>Mon, 23 Dec 2024 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_3/</guid><description>&lt;img src="https://a-moment096.github.io/images/Skadi.png" alt="Featured image of post Phase Field: 相场模拟学习笔记 III" /&gt;&lt;p&gt;&lt;em&gt;接上一节内容，这节会简单介绍 C++ 的一些语法知识，然后用 C++ 实现一维传热方程的模拟。&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="c一门高效的适宜科学计算的程序语言"&gt;C++：一门高效的，适宜科学计算的程序语言
&lt;/h2&gt;&lt;p&gt;C++ 是一门经典的编程语言，于 1979 年由 Bjarne Stroustrup 设计，最初目的是为了成为更好的 C 语言，而后随着自身发展，成为了一门和 C 语言有许多相似之处，而又截然不同的一门语言。C++ 支持多种编程范式，包括但不限于面向过程，面向对象，函数式，模板元编程等等。其丰富的生态，高效的算法库以及&lt;em&gt;零成本抽象&lt;/em&gt;的理念让 C++ 极为适合进行各类科学运算。此外，C++ 的语法较为亲民，其多种编程范式也便于不同背景的开发者上手，故我们在这里引入 C++ 作为后续计算使用的程序语言。&lt;/p&gt;</description></item><item><title>Phase Field: 相场模拟学习笔记 II</title><link>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_2/</link><pubDate>Fri, 22 Nov 2024 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_2/</guid><description>&lt;img src="https://a-moment096.github.io/images/Skadi.png" alt="Featured image of post Phase Field: 相场模拟学习笔记 II" /&gt;&lt;p&gt;&lt;em&gt;接上一节内容，这节会简单介绍 Python 的一些语法知识，以及尝试使用 Python 实现上节所列出来的部分算法。&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="python-初探索"&gt;Python 初探索
&lt;/h2&gt;&lt;h3 id="简介"&gt;简介
&lt;/h3&gt;&lt;p&gt;Python 是一种蟒蛇，而在编程语境下，Python 则是一门十分受欢迎的编程语言。Python 具有语法友好（接近英语），功能强大（感谢开源与社区），社区活跃等优秀的特点，让 Python 成为入门编程的一个好选择。&lt;/p&gt;</description></item><item><title>Phase Field: 相场模拟学习笔记 I</title><link>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_1/</link><pubDate>Fri, 01 Nov 2024 00:00:00 +0800</pubDate><guid>https://a-moment096.github.io/zh/posts/pf_tutorial/pf_tutorial_1/</guid><description>&lt;img src="https://a-moment096.github.io/images/Skadi.png" alt="Featured image of post Phase Field: 相场模拟学习笔记 I" /&gt;&lt;p&gt;&lt;em&gt;这学期开了相场模拟培训，故尝试将相场培训笔记性质的内容记录下来，期望观感应该是目录式的笔记，外带可有可无的说明文字。那么就开始吧&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="phase-field-method-是什么"&gt;Phase Field Method 是什么？
&lt;/h2&gt;&lt;p&gt;Phase Field Method，直译为相场法，是一种材料模拟方法，其通过宽界面（平滑界面）的特点，克服了另一个模拟方法：Stefan 法的窄界面无法计算的缺点，实现了对材料中的相的演化的模拟。&lt;/p&gt;</description></item></channel></rss>