91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 17.49MB
    文件類型: .zip
    金幣: 1
    下載: 0 次
    發布日期: 2023-07-10
  • 語言: 其他
  • 標簽: CFD??SU2-3.2.9??

資源簡介

這個是斯坦福大學開源軟件SU2的源碼,可以直接在Linux系統上進行編譯安裝。親測可用

資源截圖

代碼片段和文件信息

/*!
?*?\file?config_structure.cpp
?*?\brief?Main?file?for?managing?the?config?file
?*?\author?F.?Palacios?T.?Economon?B.?Tracey
?*?\version?3.2.9?“eagle“
?*
?*?SU2?Lead?Developers:?Dr.?Francisco?Palacios?(francisco.palacios@boeing.com).
?*??????????????????????Dr.?Thomas?D.?Economon?(economon@stanford.edu).
?*
?*?SU2?Developers:?Prof.?Juan?J.?Alonso‘s?group?at?Stanford?University.
?*?????????????????Prof.?Piero?Colonna‘s?group?at?Delft?University?of?Technology.
?*?????????????????Prof.?Nicolas?R.?Gauger‘s?group?at?Kaiserslautern?University?of?Technology.
?*?????????????????Prof.?Alberto?Guardone‘s?group?at?Polytechnic?University?of?Milan.
?*?????????????????Prof.?Rafael?Palacios‘?group?at?Imperial?College?London.
?*
?*?SU2?is?free?software;?you?can?redistribute?it?and/or
?*?modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
?*?License?as?published?by?the?Free?Software?Foundation;?either
?*?version?2.1?of?the?License?or?(at?your?option)?any?later?version.
?*
?*?SU2?is?distributed?in?the?hope?that?it?will?be?useful
?*?but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
?*?MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.?See?the?GNU
?*?Lesser?General?Public?License?for?more?details.
?*
?*?You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
?*?License?along?with?SU2.?If?not?see?.
?*/

#include?“../include/config_structure.hpp“

CConfig::CConfig(char?case_filename[MAX_STRING_SIZE]?unsigned?short?val_software?unsigned?short?val_iZone?unsigned?short?val_nZone?unsigned?short?val_nDim?unsigned?short?verb_level)?{

??int?rank?=?MASTER_NODE;
#ifdef?HAVE_MPI
??MPI_Comm_rank(MPI_COMM_WORLD?&rank);
#endif

??/*---?Initialize?pointers?to?Null---*/
??
??SetPointersNull();

??/*---?Reading?config?options??---*/
??
??SetConfig_Options(val_iZone?val_nZone);

??/*---?Parsing?the?config?file??---*/
??
??SetConfig_Parsing(case_filename);

??/*---?Configuration?file?postprocessing?---*/

??SetPostprocessing(val_software?val_iZone?val_nDim);

??/*---?Configuration?file?boundaries/markers?setting?---*/
??
??SetMarkers(val_software);

??/*---?Configuration?file?output?---*/

??if?((rank?==?MASTER_NODE)?&&?(verb_level?==?VERB_HIGH)?&&?(val_iZone?!=?1))
????SetOutput(val_software?val_iZone);

}

CConfig::CConfig(char?case_filename[MAX_STRING_SIZE]?unsigned?short?val_software)?{
??
??/*---?Initialize?pointers?to?Null---*/
??
??SetPointersNull();

??/*---?Reading?config?options??---*/
??
??SetConfig_Options(1?1);

??/*---?Parsing?the?config?file??---*/
??
??SetConfig_Parsing(case_filename);

??/*---?Configuration?file?postprocessing?---*/
??
??SetPostprocessing(val_software?1?1);
??
}

CConfig::CConfig(char?case_filename[MAX_STRING_SIZE]?CConfig?*config)?{
??
??bool?runtime_file?=?false;
??
??/*---?Reading?config?options??---*/
??
??SetRunTime_Options();
??
??/*---?Parsing?the?config?file??---*/
??
??runtime_file?=?SetRunTime_Parsing(case_filename);
??
??/*---?Update?config?file?---*/
??
??i

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\
?????文件?????????407??2015-03-20?03:12??SU2-3.2.9\.gitignore
?????文件???????24485??2015-03-20?03:12??SU2-3.2.9\COPYING
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\Common\
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\Common\doc\
?????文件????????4090??2015-03-20?03:12??SU2-3.2.9\Common\doc\docmain.hpp
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\Common\include\
?????文件??????214631??2015-03-20?03:12??SU2-3.2.9\Common\include\config_structure.hpp
?????文件???????53148??2015-03-20?03:12??SU2-3.2.9\Common\include\config_structure.inl
?????文件???????38207??2015-03-20?03:12??SU2-3.2.9\Common\include\dual_grid_structure.hpp
?????文件???????12744??2015-03-20?03:12??SU2-3.2.9\Common\include\dual_grid_structure.inl
?????文件???????59851??2015-03-20?03:12??SU2-3.2.9\Common\include\geometry_structure.hpp
?????文件???????12919??2015-03-20?03:12??SU2-3.2.9\Common\include\geometry_structure.inl
?????文件???????14834??2015-03-20?03:12??SU2-3.2.9\Common\include\grid_adaptation_structure.hpp
?????文件????????1498??2015-03-20?03:12??SU2-3.2.9\Common\include\grid_adaptation_structure.inl
?????文件???????59494??2015-03-20?03:12??SU2-3.2.9\Common\include\grid_movement_structure.hpp
?????文件???????12035??2015-03-20?03:12??SU2-3.2.9\Common\include\grid_movement_structure.inl
?????文件????????8727??2015-03-20?03:12??SU2-3.2.9\Common\include\linear_solvers_structure.hpp
?????文件????????1573??2015-03-20?03:12??SU2-3.2.9\Common\include\linear_solvers_structure.inl
?????文件???????23313??2015-03-20?03:12??SU2-3.2.9\Common\include\matrix_structure.hpp
?????文件????????4578??2015-03-20?03:12??SU2-3.2.9\Common\include\matrix_structure.inl
?????文件??????103242??2015-03-20?03:12??SU2-3.2.9\Common\include\option_structure.hpp
?????文件???????45765??2015-03-20?03:12??SU2-3.2.9\Common\include\primal_grid_structure.hpp
?????文件???????12283??2015-03-20?03:12??SU2-3.2.9\Common\include\primal_grid_structure.inl
?????文件????????1588??2015-03-20?03:12??SU2-3.2.9\Common\include\su2mpi.hpp
?????文件???????12906??2015-03-20?03:12??SU2-3.2.9\Common\include\vector_structure.hpp
?????文件????????2110??2015-03-20?03:12??SU2-3.2.9\Common\include\vector_structure.inl
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\Common\lib\
?????文件????????3247??2015-03-20?03:12??SU2-3.2.9\Common\lib\Makefile.am
?????文件???????46132??2015-03-20?03:12??SU2-3.2.9\Common\lib\Makefile.in
?????目錄???????????0??2015-03-20?03:12??SU2-3.2.9\Common\src\
............此處省略914個文件信息

評論

共有 條評論