0%

What is this?

This is a course project for MATH578 at UNM. This project discusses the use of Least-square FEM to stabilize numerical solution of convection-diffusion equation. The report can be found here.

Markdown Cheatsheet


Heading 1

Markup :  # Heading 1 #

-OR-

Markup :  ============= (below H1 text)
Read more »

:pencil2: Leetcode Solutions with Python,Javascript

Update time: 2020-10-02 07:30:29

Auto created by leetcode_generate

I have solved 159 / 1459 problems
while there are 230 problems still locked.

If you want to use this tool please follow this Usage Guide

If you have any question, please give me an issue.

If you are loving solving problems in leetcode, please contact me to enjoy it together!

(Notes: :lock: means you need to buy a book from Leetcode to unlock the problem)

Read more »

When was this work done?

This is a intern project(PCRSI) at Los Alamos National Lab(LANL) summer 2018. My mentor was Dr. Satish Karra and co-author is Dr. Daniel O’Malley. My sincere thanks to them.

This project dealt with a typical inversion problem arised in computational geophysics. The goal is to infer the distribution of permeability from observation data of pressure. This project is coded in Fortran and C++(lots of binding), under the framework of PETSc. This code is highlighted by hybrid of MPI and openMP in its FEM solver. Actually PETSc doesn’t support hybridization by then. The scaling was tested on over 2400 cores. PDF verion is listed here and also accessible by this link. Also come with a poster.

在此之前我有写过一篇如何使用我博客模板的文章 请先看这篇基础集成,这篇文章主要讲的是如何使用和修改我的博客主题,文章内容含以下几点:

博客特性

  • 适配电脑、手机、平板等各屏幕
  • 响应式设计
  • 个性化头像
  • 每篇文章自动添加打赏功能
  • 支持Disqus、livere评论系统
  • 支持站点总数访问统计,每篇文章访问统计
  • 支持文章自动生成目录
  • 支持标签分类
  • 支持代码高亮
  • 支持文章H1、H2、H3、H4标题样式多样化
  • 支持多种三方社交icon展示,能从博客直接跳转到自己的三方社交主页
  • 支持三方社交分享(facebook、twitter)

博客主要模块介绍

_config.yml

_config.yml 是博客的配置文件,整个站点的信息都在这修改,想要把我的模板改成你自己的也需要修改_config.yml

重要字段说明

  • enableToc: 是否开启文章自动生成目录,设置为false文章不会自动生成目录
  • comment/livere: livere评论系统,支持微信、qq、微博、豆瓣、twitter等登录后可以直接评论
  • comment/disqus: disqus评论系统,支持facebook、twitter等登录后可以直接评论
  • social/weibo、github、zhihu、jianshu等: 个人站底部展示的微博等三方社交按钮,点击后直接跳转到个人微博或其他社交主页
  • baidu/id: 百度统计,用来统计你个人站点的用户访问情况
  • ga/id: google统计,用来统计你个人站点的用户访问情况

_config.yml 文件除以上字段还有一些可以自行修改,例如title之类的字段

_posts

_posts 目录是用来存放文章的目录,写新文章,直接放在这个目录即可

使用博客模板时,请把博客自带的文章给去掉,如果想使用博客自带的文章请 注明出处

自定义页面

about.md、support.md 等为自定义页面,如果你想添加自动以页面可以直接复制about.md 文件修改文件名和里面的内容即可。

如果需要在导航显示你新增的页面,直接在_config.yml 文件的nav字段中添加你新页面配置即可

修改说明

如果要修改博客模板信息建议只修改_config.yml 文件内容和 _posts 里面的文章信息。因为博客模板一直在更新迭代,改动多了以免你后期更新博客模板的时候不方便。

如果你想改动模板的样式又想继续更新迭代博客模板,你可以提交在github上提交pull request 或者直接给我发邮件建议改成什么样,如果你的提议确实可以,我会采纳的,并且非常感谢你的建议。

博客迭代信息请看ReleaseNode

遇到解决不了的问题可以找 技术支持

介绍

本博客首发时间为2015年,至今已经5个年头了。

感觉之前更新迭代的有点乱,很多用户在使用的时候也没法确定是否要更新新版的博客,再次我专门用一篇文章来记录博客更新迭代的记录,如果你已经在使用我的博客模板的,你可以看看更新记录后确认下是否要更新。

博客的全功能介绍请看博客功能介绍

1.0.0

2016-11-25 第一版发布,红色主题

2.0.0 开发中

  • 2016-11-25 修改博客风格为淡蓝色主题
  • 2016-12-16 增长404、about等页面
  • 2017-1-12 增加代码高亮
  • 2017-3-19 增加打赏公共
  • 2017-9-8 多说评论系统停服,切换到disqus评论(多说上的评论全没了😭)
  • 2019-1-25 增加博客底部社交链接
  • 2020-7-8 博客域名从 http://baixin.io 迁移到 https://leopardpan.cn (baixin.io没法备案之前的统计也全没了😭).
  • 2020-7-13 增加文章自动生成目录功能, 增加livere评论系统

博客更新手册

如果你已经在使我的博客模板了,现在又想继续更新新版的博客,你下载博客后只需要修改两个各方

  • _config.yml 文件
  • _posts 目录

_config.yml 文件里面的内容设置成你自己的,也可以用你原来的,最好是更新版的字段做一下对比。

_posts 目录里面的文章全部删掉,把你自己的文章放进来

修改以上两个地方新版的博客便更新完成,快看看效果吧!

What is Markdown?

What Is It?

Markdown is a plain text formatting syntax aimed at making writing for the internet easier. The philosophy behind Markdown is that plain text documents should be readable without tags mussing everything up, but there should still be ways to add text modifiers like lists, bold, italics, etc. It is an alternative to WYSIWYG (what you see is what you get) editors, which use rich text that later gets converted to proper HTML.

It’s possible you’ve encountered Markdown without realizing it. Facebook chat, Skype, and Reddit all let you use different flavors of Markdown to format your messages.

Here’s a quick example: to make words bold using Markdown, you simply enclose them in * (asterisks). So, bold word would look like bold word when everything is said and done.

All told, Markdown is a great way to write for the web using plain text.

Basic grammers

Title
H1 :# Header 1
H2 :## Header 2
H3 :### Header 3
H4 :#### Header 4
H5 :##### Header 5
H6 :###### Header 6
Link :Title
Bold :Bold
Italics :Italics
*strikebreak :text
inlines : alert('Hello World');

List

  • list1
  • list2
  • list3

list reference

  • list1
  • list2
  • list3

Advanced syntax

1. Todo list

  • support for exporting the text in PDF format
  • Improving the Cmd rendering algorithm to improve rendering efficiency using local rendering techniques
  • New Todo List Feature
  • Fix Icon function

    2. Highliget a snippet of code

1
2
3
4
5
6
7
8
9

@requires_authorization
class SomeClass:
pass

if __name__ == '__main__':
# A comment
print 'hello world'

3. Table

item price quantity
computer $1600 5
cellphone $12 12
cable $1 234