CMake Help
系列基于CMake Tutorial
本文基于Step 2: Adding a Library
Rather than placing all of the source files in one directory, we can organize our project with one or more subdirectories. In this case, we will create a subdirectory specifically for our library. Here, we can add a new CMakeLists.txt file and one or more source files. In the top level CMakeLists.txt file, we will use the add_subdirectory() command to add the subdirectory to the build.
Once the library is created, it is connected to our executable target with target_include_directories() and target_link_libraries().
CMake教程(一):构建一个简单的可执行文件
CMake Help
系列基于CMake Tutorial
本文基于Step 1: A Basic Starting Point
环境Apple clang version 14.0.0 (clang-1400.0.29.202)以及cmake version 3.25.0
一些可以参考的资料learnCmake,An Introduction to Modern CMake
利用CMake构建一个简单的可执行文件。
暴雪退出中国
2023年1月23日23:58分,网易战网服务器断开连接。
从小学的War3RPG到现在OW,十几年了吧。
哎,本来想送个终的。但是找不到电脑打OW。结束了。
平面波入射到分层介质中
考虑平面波斜入射到一分层介质中,一共有$n+1$层分界面,从$0$开始计数,$0$代表入射开始的那一层和$n+1$是只有透射波。记第$l$个介质的介质参数为$\varepsilon_l,\mu_l$。
本文全为时谐场复数形式的平面波,时谐因子为$\exp-\mathrm{i}\omega t$,介质为线性均匀各向同性。
对平面波可将其分解为平面波TE极化和平面波TM极化的合成
平面波的斜入射
本文全为时谐场复数形式的平面波,时谐因子为$\exp-\mathrm{i}\omega t$,介质为线性均匀各向同性。
时谐场均匀平面电磁波
时谐场
随时间正、余弦变化电磁场是时变电磁场中最简单、最基本的时变场,被称为时谐场。表示为:
这里假定了空间某一位置中的初相位相同,可以理解为$\varphi_x(\vec{r}) = \varphi_y(\vec{r}) = \varphi_z(\vec{r}) = \varphi(\vec{r})$
某些书上会在振幅那多乘一个$\sqrt{2}$,这是由于其使用的振幅模值是有效值,这里没有乘$\sqrt{2}$,用的振幅模值为最大值。
更一般的,时谐场的复数表示形式为:
这里把初始相位也并入到$\vec{E}(\vec{r})$中,称其为复数相位,$ \exp (-\mathrm{i}\omega t)$为时谐因子。实际上的场为其取实部后的结果。本文都以时谐场的复数形式表示。
电磁波基本理论
本文的讨论空间设定介质全为均匀、线性、各向同性的介质。
MIT6.824Note
今年4月份到现在6月份,抽了许多时间,大体上把MIT 6.824的4个lab给做了。截止目前,除了Lab4的Challenge:Garbage collection of state还未成功通过,其余的已成功通过测试。不得不说,一套做下来的收获满满。这里就记录一下自己做实验的思路以及遇到的坑吧。