04 2016 档案

摘要:原视频下载地址:https://yunpan.cn/cPBnmsNheJ46q 访问密码3441 阅读全文
posted @ 2016-04-30 21:50 硫酸亚铜 阅读(990) 评论(0) 推荐(0) 编辑
摘要:利用字符串流类可实现字符串转换为其他类型,采用字符串流类可以很容易的把各种类型的字符串(不管是c类型还是string类型)转换为单精度,双精度。使用字符串流类,需要包含头文件#include,对于istringstream提供读字符串的功能,ostringstream提供写字符串的功能,str... 阅读全文
posted @ 2016-04-30 16:16 硫酸亚铜 阅读(278) 评论(0) 推荐(0) 编辑
摘要:#include#include //STL链表 usingnamespace std; int maxdigit(int data[], intn) //判断最大的数的位数{ intd = 1; intp = 10; for(int i = 0; i ... 阅读全文
posted @ 2016-04-30 15:51 硫酸亚铜 阅读(224) 评论(0) 推荐(0) 编辑
摘要:QueueLi.h头文件源代码:#ifndef_QUEUELI_H_#define_QUEUELI_H_ templateclassQueue{public: Queue(); //构造函数 ~Queue(); //析构函数 boolIsEmpty()const... 阅读全文
posted @ 2016-04-30 00:02 硫酸亚铜 阅读(155) 评论(0) 推荐(0) 编辑
摘要:LinkedStack.h头文件源代码:#ifndefLINKEEDSTACK_H#defineLINKEEDSTACK_H templateclassLinkedStack; templateclassChainNode{ friendclass LinkedStack;private... 阅读全文
posted @ 2016-04-28 14:44 硫酸亚铜 阅读(146) 评论(0) 推荐(0) 编辑
摘要:List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_//迭代器的前置声明templateclassListInterator;//链表类的前置声明templateclassList; templateclassListNode //节点类{ fri... 阅读全文
posted @ 2016-04-27 11:13 硫酸亚铜 阅读(149) 评论(0) 推荐(0) 编辑
摘要:List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_ //迭代器的前置声明templateclassListInterator; //链表类的前置声明templateclassList; templateclassListNode //节点类{ f... 阅读全文
posted @ 2016-04-26 15:50 硫酸亚铜 阅读(390) 评论(0) 推荐(0) 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_4d9018650101891w.html模型选择 对于某些问题,某个辐射模型可能比其它模型更适用。在确定使用何种辐射模型时,需要考虑的因素如下:光学深度:光学深度αL 是确定选择辐射模型较好的指标。其中,L 为计算域大致的... 阅读全文
posted @ 2016-04-24 23:09 硫酸亚铜 阅读(3496) 评论(0) 推荐(0) 编辑
摘要:List.h头文件源代码:#ifndef_LIST_H_#define_LIST_H_ //链表类的前置声明templateclassList; templateclassListNode //节点类{ friendclass List; private: Ty... 阅读全文
posted @ 2016-04-24 18:06 硫酸亚铜 阅读(158) 评论(0) 推荐(0) 编辑
摘要:ThreeLetterList.h头文件源代码:#ifndefTHREE_LETTER_LIST#defineTHREE_LETTER_LISTclassThreeLetterList{ private: //嵌套类 classThreeLetterNode ... 阅读全文
posted @ 2016-04-24 14:36 硫酸亚铜 阅读(137) 评论(0) 推荐(0) 编辑
摘要:本方法还有诸多不完善的地方,转换代码转换格式之后还是需要自己手动分割txt文件,如果数据量太大,手动操作很是辛苦。现在只能得到点的数据,如何重构几何还是问题,UG貌似可以,欢迎交流。首先在tecplot当中导入模型的cas文件然后选择文件导出保存的位置:打开刚才保存的文件,导出数据点的格式如下... 阅读全文
posted @ 2016-04-24 01:31 硫酸亚铜 阅读(862) 评论(0) 推荐(0) 编辑
摘要:本代码转载自:http://www.codeforge.cn/read/260028/keti_2d_b.c__html#include"udf.h"#define Rho 1002#define g 9.81#define s 2.65#define m 0.4#define d 0.000... 阅读全文
posted @ 2016-04-21 12:15 硫酸亚铜 阅读(787) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cPfzaLzkcFXVK 访问密码62cf 阅读全文
posted @ 2016-04-20 00:06 硫酸亚铜 阅读(168) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqaQ2t5DrRcKa 访问密码d111 阅读全文
posted @ 2016-04-19 11:59 硫酸亚铜 阅读(185) 评论(0) 推荐(0) 编辑
摘要:本程序在VS2010及以上编译时可能会出现错误:error C4996:'std::_Copy_impl': Function call with parameters that may be unsafe- this call relies on the caller to check th... 阅读全文
posted @ 2016-04-18 12:58 硫酸亚铜 阅读(217) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址: https://yunpan.cn/cqhsvXAKUQEA4 访问密码ef39 阅读全文
posted @ 2016-04-17 15:25 硫酸亚铜 阅读(113) 评论(0) 推荐(0) 编辑
摘要:本程序在VS2010及以上编译时可能会出现错误: error C4996:'std::_Copy_impl': Function call with parameters that may be unsafe- this call relies on the caller to check t... 阅读全文
posted @ 2016-04-16 23:25 硫酸亚铜 阅读(162) 评论(0) 推荐(0) 编辑
摘要:#include usingnamespace std; templatevoidQuickSort(T* a,const int left,const int right); intmain(){ intk[]={8,6,4,2,0,1,3,5,7,9,99}; //最后一个数无... 阅读全文
posted @ 2016-04-15 13:16 硫酸亚铜 阅读(123) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqp4AzMBXSVQr 访问密码c081 阅读全文
posted @ 2016-04-15 11:18 硫酸亚铜 阅读(131) 评论(0) 推荐(0) 编辑
摘要:#include usingnamespace std; voidInsertionSort(int* a,int n); intmain(){ intx[]={2,4,6,8,0,1,3,5,7,9}; InsertionSort(x,10); for(inti=0;i0&... 阅读全文
posted @ 2016-04-14 18:14 硫酸亚铜 阅读(189) 评论(0) 推荐(0) 编辑
摘要:#include usingnamespace std; voidPermutations(char* p,const int k,const int m); intmain(){ chars[]="abcd"; Permutations(s,0,3); return0;} ... 阅读全文
posted @ 2016-04-14 17:37 硫酸亚铜 阅读(237) 评论(0) 推荐(0) 编辑
摘要:折半查找仅适用于排序数组的情况 #include usingnamespace std; intBinarySearch(int* a,const int x,const int n); intmain(){ intx[]={1,2,3,4,5,6,7,8,9,10}; intre... 阅读全文
posted @ 2016-04-14 16:38 硫酸亚铜 阅读(156) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqUj6H9un37F2 访问密码 91af 阅读全文
posted @ 2016-04-13 22:36 硫酸亚铜 阅读(244) 评论(4) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqUfdgMPzyr5y 访问密码bb4f 阅读全文
posted @ 2016-04-13 22:36 硫酸亚铜 阅读(232) 评论(0) 推荐(0) 编辑
摘要:​原视频下载地址:https://yunpan.cn/cLHD9ewat8v9a 访问密码 0f0f 阅读全文
posted @ 2016-04-13 22:35 硫酸亚铜 阅读(781) 评论(0) 推荐(0) 编辑
摘要:在c++编写正弦曲线点的代码,源代码如下: //想要使用内置的π,此句必不可少! #define_USE_MATH_DEFINES #include#include#include usingnamespace std; intmain(){ ofstreamout("1.txt"... 阅读全文
posted @ 2016-04-12 20:50 硫酸亚铜 阅读(326) 评论(0) 推荐(0) 编辑
摘要:Proc 过程名 参数列表 过程体 示例代码(斐波那契数列): proc fib{num} { if{num<=2} {return 1} return[expr [fib [exprnum-1]] + [fib [expr $num-2]]]}for {set i 1}{$... 阅读全文
posted @ 2016-04-11 12:39 硫酸亚铜 阅读(188) 评论(0) 推荐(0) 编辑
摘要:for 开始 判断语句 变量自增(自检) 循环体示例代码:for {set i0} {$i<10} {incr i} { puts"I is: $i "}运行结果 While 判断语句 循环体示例代码:set x0while{$x<5} { setx [expr x+x+1] ... 阅读全文
posted @ 2016-04-11 12:15 硫酸亚铜 阅读(1330) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqvgLe39ZU4Ke 访问密码 c1c9 阅读全文
posted @ 2016-04-08 09:54 硫酸亚铜 阅读(724) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqRiHaQiLi8I7 访问密码b5c6 阅读全文
posted @ 2016-04-07 21:57 硫酸亚铜 阅读(286) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqMnfpqQQdZZI 访问密码 802b 阅读全文
posted @ 2016-04-07 20:43 硫酸亚铜 阅读(737) 评论(0) 推荐(0) 编辑
摘要:​原视频下载地址:https://yunpan.cn/cqqikUHHa9ALF 访问密码 a5b8 阅读全文
posted @ 2016-04-05 10:33 硫酸亚铜 阅读(121) 评论(0) 推荐(0) 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_6a5314cf0100tnsz.html多相流问题后处理中很容易显示相界面在某些面上的形态,如图1所示。其实利用ISO-Clip功能还可以显示某一相在整个流域中的分布情况,如图2、图3。 图 1图 2图 3具体操作方法如... 阅读全文
posted @ 2016-04-05 04:00 硫酸亚铜 阅读(3096) 评论(1) 推荐(0) 编辑
摘要:原文地址:topology虚拟拓扑">virtual topology虚拟拓扑作者:一丝尘埃topology虚拟拓扑" title="[转载]virtual topology虚拟拓扑">topology虚拟拓扑" title="[转载]virtual topology虚拟拓扑"> ... 阅读全文
posted @ 2016-04-05 01:12 硫酸亚铜 阅读(1040) 评论(0) 推荐(0) 编辑
摘要:原文地址:face meshing面映射网格划分">workbench分网---mapped face meshing面映射网格划分作者:一丝尘埃face meshing面映射网格划分" title="[转载]workbench分网---mapped face meshing面映射网格划分">... 阅读全文
posted @ 2016-04-05 01:11 硫酸亚铜 阅读(2569) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址: https://pan.baidu.com/s/1nvSf5qh 密码: cpbs 阅读全文
posted @ 2016-04-04 21:59 硫酸亚铜 阅读(1435) 评论(0) 推荐(0) 编辑
摘要:采用c++实现 实现方法一(引用): #include usingnamespace std; //交换函数的声明(引用方式)voidswap(int& x, int& y); intmain(){ inta, b; a =1; b =10; cout usingnam... 阅读全文
posted @ 2016-04-04 15:41 硫酸亚铜 阅读(174) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqrJRm32dMmAL 访问密码9dd9 阅读全文
posted @ 2016-04-03 20:27 硫酸亚铜 阅读(104) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址: https://pan.baidu.com/s/1boSjGXh 密码:9zis 阅读全文
posted @ 2016-04-02 20:34 硫酸亚铜 阅读(627) 评论(1) 推荐(0) 编辑
摘要:原视频下载地址:https://yunpan.cn/cqLyi92H5Akh5 访问密码 1d48 阅读全文
posted @ 2016-04-02 14:00 硫酸亚铜 阅读(137) 评论(0) 推荐(0) 编辑
摘要:原视频下载地址: https://pan.baidu.com/s/1pKVPall 密码: ubwr​ 阅读全文
posted @ 2016-04-02 12:40 硫酸亚铜 阅读(143) 评论(0) 推荐(0) 编辑
摘要:​原视频下载地址:https://yunpan.cn/cqFIqQWrNqzNc 访问密码 6fb4 阅读全文
posted @ 2016-04-02 12:38 硫酸亚铜 阅读(291) 评论(0) 推荐(0) 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_8add9da60102v2hv.html利用ICEM生成边界层网格(棱柱网格)时,发现生成的棱柱网格的方向不在流体域一侧,跑到了另一侧,这样的网格怎么能用呢。问题产生的原因总也找不到,没辙,先换个简单的模型实验一下,在实验... 阅读全文
posted @ 2016-04-01 17:18 硫酸亚铜 阅读(1071) 评论(1) 推荐(0) 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_4a21884b010005ng.html采用ICEMCFD画网格的初学者,都对由cad(proe/ug/solidworks)软件造出的外形复杂的实体在ICEMCFD中face存在裂缝,进而要修复裂缝感到头疼,手足无措……... 阅读全文
posted @ 2016-04-01 15:41 硫酸亚铜 阅读(1418) 评论(0) 推荐(0) 编辑
摘要:转载自:http://blog.sina.com.cn/s/blog_90affd9801016xti.html很多人问ICEM的rpl怎样录制的问题,为什么CFX调用时老是报错,这里开个帖子简单讲讲吧。 首先打开ICEM,file ——>replay scripts——>replaycont... 阅读全文
posted @ 2016-04-01 15:31 硫酸亚铜 阅读(1991) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示