Introduction
Makefile
定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至进行更复杂的操作。
Makefile
带来的好处 —— “自动化编译”。写好后,只需要一个make命令,整个工程完全自动编译。
- make
是一个命令工具,一个解释 Makefile
中指令的命令工具
- Delphi
: make
- Visual C++
: nmake
- Linux
: GNU make
Makefile
定义了一系列的规则来指定,哪些文件需要先编译,哪些文件需要后编译,哪些文件需要重新编译,甚至进行更复杂的操作。
Makefile
带来的好处 —— “自动化编译”。写好后,只需要一个make命令,整个工程完全自动编译。
- make
是一个命令工具,一个解释 Makefile
中指令的命令工具
- Delphi
: make
- Visual C++
: nmake
- Linux
: GNU make
title: Chapter 3 Matrix Tree Theorem icon: file order: 3 author: Krigo category: - MATH tag: - MATH - Graph Theory footer: Thank's myself hardwork. copyrigh: 无版权 date: 2024-05-28
IMPORTANT
The algebraic connectivity of G is the second smallest eigenvalue, λ2(G), of the Laplacian matrix L(G). We denote the algebraic connectivty of G by a(G).
subroutine get_stream_tn_parallel
use omp_lib
implicit none
integer :: i, thread_id,partial_Sum,total_Sum
t1_vertex(0)%value = t0_vertex(0)%value - dt * (t0_vertex(0)%value - t0_vertex(nx)%value)/dx
!$OMP PARALLEL PRIVATE(partial_Sum) SHARED(total_Sum)
!$OMP DO
do i = 1,nx + nghost
t1_vertex(i)%value = t0_vertex(i)%value - dt * (t0_vertex(i)%value - t0_vertex(i-1)%value)/dx
!thread_id = OMP_GET_THREAD_NUM()
!print *, "Upwind process: ", thread_id
enddo
!$OMP end DO
!$OMP DO
do i = 1 - nghost, nx + nghost
t0_vertex(i)%value = t1_vertex(i)%value
enddo
!$OMP end DO
!$OMP END PARALLEL
end subroutine get_stream_tn_parallel
These parallel machines are build up on a set of processors which have access to a common memory. Usually the name of SMP machines is used for computers based on this architecture, where SMP stands for Symmetric Multi Processing.
重要
Consider the time-dependent Cauchy probelm of scalar equation,
{ut+aux=0,−∞<x<∞,t≥0u(x,0)=u0(x)
Define:
Theorem 1.7
The characterristic polynomial of A(G):
p(A(G),μ)=det(μIn−A(G))=μn+c1μn−1+c2μn−2+c3μn−3+⋯+cn