PETScSolver:PETSc作为非线性PDE的求解器-源码

上传者: 42126677 | 上传时间: 2021-02-26 20:05:02 | 文件大小: 40KB | 文件类型: ZIP
用于PDE的PETSc PETSc作为非线性PDE的求解器 “ PETSc是一套数据结构和例程,用于通过偏微分方程建模的科学应用程序的可扩展(并行)解决方案” [请参见: : ] 编译中 假设您已使用指定的gcc和g ++编译器正确安装了PETSc。 转到CMakeLists.txt并为gcc和g ++编译器更改第9行和第17行。 转到FindPETSc.cmake,并将行26/27更改为PETSC_DIR和PETSC_ARCH。 在根目录下,输入cmake . 然后,输入make或make -j 运行输入文件 PETSc选项样式用于输入文件,例如-option_name option_value 。 参见例如input/HeatCond1D.i 键入./PETScSolver <input_file_name>来运行输入文件。 例如,。 ./PETScSolver

文件下载

资源详情

[{"title":"( 26 个子文件 40KB ) PETScSolver:PETSc作为非线性PDE的求解器-源码","children":[{"title":"PETScSolver-master","children":[{"title":"cxx_main.C <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"input","children":[{"title":"HeatCond1D.i <span style='color:#111;'> 82B </span>","children":null,"spread":false},{"title":"LaxRiemannProblem.i <span style='color:#111;'> 158B </span>","children":null,"spread":false},{"title":"SodShockTube.i <span style='color:#111;'> 157B </span>","children":null,"spread":false}],"spread":true},{"title":"ResolveCompilerPaths.cmake <span style='color:#111;'> 4.07KB </span>","children":null,"spread":false},{"title":"vtk_diff.py <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"FindPETSc.cmake <span style='color:#111;'> 15.39KB </span>","children":null,"spread":false},{"title":"output","children":[{"title":"expected","children":[{"title":"HeatCond1D_step_40.vtk <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"LaxRiemannProblem_step_80.vtk <span style='color:#111;'> 12.37KB </span>","children":null,"spread":false},{"title":"SodShockTube_step_20.vtk <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"SodShockTube_step_40.vtk <span style='color:#111;'> 6.31KB </span>","children":null,"spread":false},{"title":"HeatCond1D_step_20.vtk <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"LaxRiemannProblem_step_160.vtk <span style='color:#111;'> 12.37KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"runtest.cmake <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"FindPackageMultipass.cmake <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"CorrectWindowsPaths.cmake <span style='color:#111;'> 432B </span>","children":null,"spread":false},{"title":"CMakeLists.txt <span style='color:#111;'> 3.29KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 969B </span>","children":null,"spread":false},{"title":"problems","children":[{"title":"PETScProblemInterface.C <span style='color:#111;'> 7.45KB </span>","children":null,"spread":false},{"title":"PETScProblem.C <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"EulerEquation1D.C <span style='color:#111;'> 11.38KB </span>","children":null,"spread":false},{"title":"PETScProblem.h <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"EulerEquation1D.h <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"HeatConduction1D.C <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"PETScProblemInterface.h <span style='color:#111;'> 1.79KB </span>","children":null,"spread":false},{"title":"HeatConduction1D.h <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false}],"spread":true}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明