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

  • 大小: 94.31MB
    文件類型: .gz
    金幣: 2
    下載: 1 次
    發布日期: 2023-05-12
  • 語言: 其他
  • 標簽: uintah??

資源簡介

物質點法開源代碼 uintah-1.2.0,不錯的開源代碼,架構很龐大,最新版本為2.1.0

資源截圖

代碼片段和文件信息

#!?/usr/local/bin/python
#
#??For?more?information?please?see:?http://software.sci.utah.edu
#?
#??The?MIT?License
#?
#??Copyright?(c)?2004?Scientific?Computing?and?Imaging?Institute
#??University?of?Utah.
#?
#??License?for?the?specific?language?governing?rights?and?limitations?under
#??Permission?is?hereby?granted?free?of?charge?to?any?person?obtaining?a
#??copy?of?this?software?and?associated?documentation?files?(the?“Software“)
#??to?deal?in?the?Software?without?restriction?including?without?limitation
#??the?rights?to?use?copy?modify?merge?publish?distribute?sublicense
#??and/or?sell?copies?of?the?Software?and?to?permit?persons?to?whom?the
#??Software?is?furnished?to?do?so?subject?to?the?following?conditions:
#?
#??The?above?copyright?notice?and?this?permission?notice?shall?be?included
#??in?all?copies?or?substantial?portions?of?the?Software.
#?
#??THE?SOFTWARE?IS?PROVIDED?“AS?IS“?WITHOUT?WARRANTY?OF?ANY?KIND?EXPRESS
#??OR?IMPLIED?INCLUDING?BUT?NOT?LIMITED?TO?THE?WARRANTIES?OF?MERCHANTABILITY
#??FITNESS?FOR?A?PARTICULAR?PURPOSE?AND?NONINFRINGEMENT.?IN?NO?EVENT?SHALL
#??THE?AUTHORS?OR?COPYRIGHT?HOLDERS?BE?LIABLE?FOR?ANY?CLAIM?DAMAGES?OR?OTHER
#??LIABILITY?WHETHER?IN?AN?ACTION?OF?CONTRACT?TORT?OR?OTHERWISE?ARISING
#??FROM?OUT?OF?OR?IN?CONNECTION?WITH?THE?SOFTWARE?OR?THE?USE?OR?OTHER
#??DEALINGS?IN?THE?SOFTWARE.
#

#?File: cd_templates_fields.py
#?Author: Michael?Callahan
#?Created: Sept?2001
#?
#?Description: create?field?templates


import?os
from?sys?import?argv



ufields?=?[“LatVolField“
???????????“TetVolField“
???????????“HexVolField“
???????????“TriSurfField“
???????????“ImageField“
???????????“CurveField“
???????????“ScanlineField“
???????????“PointCloudField“
???????????“QuadraticTetVolField“
???????????]

mfields?=?[“MaskedTetVolField“
???????????“MaskedHexVolField“
???????????“MaskedLatVolField“
???????????“MaskedTriSurfField“
???????????]

fields?=?ufields?+?mfields

meshes?=?[(“LatVolMesh“?“FData3d“)
??????????(“TetVolMesh“?“vector“)
??????????(“HexVolMesh“?“vector“)
??????????(“TriSurfMesh“?“vector“)
??????????(“ImageMesh“?“FData2d“)
??????????(“CurveMesh“?“vector“)
??????????(“ScanlineMesh“?“vector“)
??????????(“PointCloudMesh“?“vector“)
??????????(“QuadraticTetVolMesh“?“vector“)
??????????]

containers?=?[“vector“?“FData3d“?“FData2d“]

tdatas?=?[“Tensor“]
vdatas?=?[“Vector“]
sdatas?=?[“double“?“float“?“int“?“short“?“unsigned?char“]
odatas?=?[]
datas?=?tdatas?+?vdatas?+?sdatas?+?odatas


if?__name__?==?‘__main__‘?:

??out?=?open(“cd_templates_fields.cc“?“w“)

??out.write(“#include?\n“)
??out.write(“#include?\n“)
??out.write(“#include?\n“)
??out.write(“#include?\n“)
??for?f?in?fields?:
????out.write(“#include?\n“)
??out.write(“\n“)
??out.write(“\n“)
??out.write(“using?namespace?SCIRun;\n“)
??out.write(“\n“)
??out.write(“\n“)

??for?f?in?

評論

共有 條評論