QQ登录

只需要一步,快速开始

 注册地址  找回密码
查看: 2963|回复: 0
打印 上一主题 下一主题

Mathematica不能识别一个计算矿物化学式的软件?

[复制链接]
字体大小: 正常 放大

1

主题

0

听众

2

积分

升级  40%

该用户从未签到

自我介绍
学生
跳转到指定楼层
1#
发表于 2012-12-6 22:56 |只看该作者 |倒序浏览
|招呼Ta 关注Ta
各位好!我下载了一个关于矿物化学成分软件是基于Mathematica软件的,之前我有一点学习VB语言的基础,在用软件的过程中,可能是一个调用“B88”总是显示红色,不知是不是这个Mathematica软件不识别我下载的这个矿物化学成分计算软件:
) x6 ?( H% N5 `0 O: \) p' n3 u
" g( c; E. H, _) w. f$ ~0 y; B(* This notebook contains examples for the PET-functions
9 U% O7 v! G2 h: M-CalcFormula- calculate mineral formulae (and mole fractions)
1 \' o% A3 j2 ]8 T) c5 F-TransformDatFile- transform microprobe data-files (JEOL_JX \
- \5 l8 V- X5 O# ]8600) to PET-readable format; T. e, ^8 @' o' X( q3 c
-MakeAnalysisTable- make a usual table of mineralchemical \5 v7 \% w! e1 X  h9 `  ]7 B1 l9 I
analyses (wt.% and formula units) *)
, Q& Y4 n7 q7 S- @" H% J(* This top-cell must be run once before any example can be \; V5 ^& ?1 Z; a2 \4 H' F) G7 C
performed. *)$ n* v& ^3 E5 Q4 O
& t7 c) U. u' L! B! q4 l
(* Define the directory, where the PET-files reside (e.g. C:\Eigene \- M, x% {3 u- I
Dateien\Pet) and load PET. *)9 h' `7 `) @9 e/ {: N. m* S
$PetDirectory = "C:\Eigene Dateien\Pet";8 t3 z% U' s& l1 T- Z: l
SetDirectory[$PetDirectory];1 Q& F2 a, f. E/ p6 U' P
DeclarePackage["DEFDAT`", {"Dataset"}];% a- }; O$ c0 L. I
Dataset[Dataset -> B88];
1 |, q  d5 A1 I6 w4 y0 Z% E& O% {! ?" d% |% B
; e7 B" X& V! h/ p2 r( t% O" e6 O
& f/ c% O! l( E/ l! V. j
' C+ N' e8 D% F6 U" F9 U

6 {% n1 z) T1 T6 x1 X* d另一个相关的“DEFDAT”:
. o3 b' M* D. h4 x(* Name: DEFDAT`
1 q# z# L# D4 K% Q; I# w$ Ypackage of PET: Petrological Elementary Tools
3 q2 U- [8 A1 r- M2 @- X. p! f6 ^Computers & Geoscience 24:219-235 *)/ \, F' f9 i  v5 P" ]

+ Q- l3 d* C# Q( L(* Summary: this package declares various PET-functions *)0 s) S: f+ Z7 F
. J5 a) {, ~7 a- O! x9 r. l- s( {
(* Author: Edgar Dachs, Department of Mineralogy* M& L5 \2 e# f" @$ W+ g9 V% G$ I: s" B
University of Salzburg, Austria  W: d( `& j9 v1 @" s/ m" f
email: edgar.dachs@sbg.ac.at6 K/ _" i2 {7 u5 i7 _
last update: 11-2002 *)
  P8 i6 ]3 W( b3 w$ E0 Q( S2 s2 ~% ^6 l
BeginPackage["DEFDAT`"]6 R8 e/ D3 t, g) W+ d) O

8 Z  s* W* `$ ?2 J7 S! i' ~; S2 VDataset::usage = "Dataset[Dataset-> ...] selects the thermodynamic dataset to be used.\n\n0 K: j) C  ?2 O1 X5 C) T
The following data sets are available, loaded with:\n\n' E" |1 W) z0 P, `( W5 S/ h
Berman (1988) J Petrol 29:445-522 Dataset[Dataset -> B88]\n" ?3 \' j  G% J
Holland & Powell (1998) J metam Geol 16:309-343 Dataset[Dataset -> HP31], or\n
5 ~$ Q$ f$ A5 ]Dataset[Dataset -> HP32]\n ( F, Q4 I5 g! V9 J  R
Gottschalk (1997) Eur J Mineral 9:175-223 Dataset[Dataset -> G97]\n\n- E  |& \* a, t2 M
See G::usage for more details.\n
3 n7 ?: O$ ]2 g! A\"31\" or \"32\" following \"HP\" indicates that the thermodynamic data have been\n+ x" m7 |" C8 F$ p
converted from THERMOCALC-versions 3.1 or 3.2 of Holland & Powell respectively.\n
8 d$ H2 N0 P' ?# _When you start PET, a subdirectory \"/work\" is created by default, from which all user-files\n
/ |) l  X4 i6 O1 ^# l" {6 e8 t$ N# _(e.g. mineralchemical data files) are read and all files produced by PET are written to.\n! i- _  B+ Z( _- o
To create a new subdirectory for that purpose, you can use the option:\n7 U* q# `- B4 g3 l
WorkDirectory -> \"/directory_name\"\n
9 c5 K2 g# A/ S! K# Y  t, `Example: Dataset[Dataset -> B88, WorkDirectory -> \"sample_xy\"]\n/ I. l8 @0 c# [
This loads PET with the Berman data set and reads/writes all user files from/to the\n2 |" z9 f* F, ?- C7 |
subdirectory named \"sample_xy\".\n
) k) I7 A& i% F& G2 f: g- |Called from: User.\n* G% |+ Z4 k' b6 R
Package name: DEFDAT.m\n; ]; }& M* q, ~
PET: Petrological Elementary Tools, (c) Edgar Dachs."
; `, I# f: t5 a
zan
转播转播0 分享淘帖0 分享分享0 收藏收藏0 支持支持0 反对反对0 微信微信
您需要登录后才可以回帖 登录 | 注册地址

qq
收缩
  • 电话咨询

  • 04714969085
fastpost

关于我们| 联系我们| 诚征英才| 对外合作| 产品服务| QQ

手机版|Archiver| |繁體中文 手机客户端  

蒙公网安备 15010502000194号

Powered by Discuz! X2.5   © 2001-2013 数学建模网-数学中国 ( 蒙ICP备14002410号-3 蒙BBS备-0002号 )     论坛法律顾问:王兆丰

GMT+8, 2026-9-27 13:21 , Processed in 0.895563 second(s), 61 queries .

回顶部