Skip to content

Commit 6419552

Browse files
committed
Initial import from 2015.10.00 release: svn r9826
Added .gitattributes to make sure Windows CRLF is preserved for *.bkp
0 parents  commit 6419552

6 files changed

Lines changed: 3426 additions & 0 deletions

File tree

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Set behaviour for all files, in case developers don't have core.autocrlf set.
2+
* text=auto
3+
4+
# Explicitly declare text files we want to always be normalized and converted to native line endings on checkout.
5+
*.txt text
6+
7+
# Declare files that will always have CRLF line endings on checkout.
8+
*.bkp text eol=crlf
9+
10+
# Denote all files that are truly binary and should not be modified.

HeatCalc.bkp

Lines changed: 3336 additions & 0 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# A simple makefile for creating the SolventCrossflowHX distribution package
2+
VERSION := 2015.10.00
3+
PRODUCT := Solvent Crossflow Heat Exchanger Calculator
4+
PROD_SNAME := SolventCrossflowHX
5+
LICENSE := CCSI_TE_LICENSE_$(PROD_SNAME).txt
6+
PKG_DIR := CCSI_$(PROD_SNAME)_$(VERSION)
7+
PACKAGE := $(PKG_DIR).zip
8+
9+
# Where Jenkins should checkout ^/projects/common/trunk/
10+
COMMON := .ccsi_common
11+
LEGAL_DOCS := LEGAL \
12+
CCSI_TE_LICENSE.txt
13+
14+
PAYLOAD := HeatCalc.bkp \
15+
LEGAL \
16+
$(LICENSE)
17+
18+
# Get just the top part (not dirname) of each entry so cp -r does the right thing
19+
PAYLOAD_TOPS := $(sort $(foreach v,$(PAYLOAD),$(shell echo $v | cut -d'/' -f1)))
20+
# And the payload with the PKG_DIR prepended
21+
PKG_PAYLOAD := $(addprefix $(PKG_DIR)/, $(PAYLOAD))
22+
23+
# OS detection & changes
24+
UNAME := $(shell uname)
25+
ifeq ($(UNAME), Linux)
26+
MD5BIN=md5sum
27+
endif
28+
ifeq ($(UNAME), Darwin)
29+
MD5BIN=md5
30+
endif
31+
ifeq ($(UNAME), FreeBSD)
32+
MD5BIN=md5
33+
endif
34+
35+
.PHONY: all clean
36+
37+
all: $(PACKAGE)
38+
39+
$(PACKAGE): $(PAYLOAD)
40+
@mkdir $(PKG_DIR)
41+
@cp -r $(PAYLOAD_TOPS) $(PKG_DIR)
42+
@zip -qrX $(PACKAGE) $(PKG_PAYLOAD)
43+
@$(MD5BIN) $(PACKAGE)
44+
@rm -rf $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)
45+
46+
$(LICENSE): CCSI_TE_LICENSE.txt
47+
@sed "s/\[SOFTWARE NAME \& VERSION\]/$(PRODUCT) v.$(VERSION)/" < CCSI_TE_LICENSE.txt > $(LICENSE)
48+
49+
$(LEGAL_DOCS):
50+
@if [ -d $(COMMON) ]; then \
51+
cp $(COMMON)/$@ .; \
52+
else \
53+
svn -q export ^/projects/common/trunk/$@; \
54+
fi
55+
56+
clean:
57+
@rm -rf $(PACKAGE) $(PKG_DIR) $(LICENSE) $(LEGAL_DOCS)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SolventCrossflowHX
2+
**Solvent Crossflow Heat Exchanger Calculator: **
3+
A Process model in Aspen Plus to optimize the size of the heat exchangers and their log-mean temperature difference (LMTD) to minimize capital and operating expenses.

jenkins_description.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Solvent Crossflow Heat Exchanger Calculator<br/>
2+
A Process model in Aspen Plus to optimize the size of the heat
3+
exchangers and their log-mean temperature difference (LMTD) to
4+
minimize capital and operating expenses.<br/>
5+
<br/>
6+
<table style="width:50%">
7+
<tr>
8+
<td>Product Team:</td>
9+
<td>PT2</td></tr>
10+
<tr>
11+
<td>Developers:</td>
12+
<td><a href="mailto:Brent Sherman &lt;brentj.sherman@gmail.com&gt;">Brent Sherman</a>,
13+
</td></tr>
14+
<tr>
15+
<td>Drupal:</td>
16+
<td><a href="https://www.acceleratecarboncapture.org/product/SolventCrossflowHX">SolventCrossflowHX</a></td></tr>
17+
<tr>
18+
<td>Jira:</td>
19+
<td><a href="https://svn.acceleratecarboncapture.org/jira/browse/SOLCFHX">SCHX</a></td></tr>
20+
</table>
38.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)