Skip to content

Commit

Permalink
Initial import from 2016.02.00 release: svn r10088
Browse files Browse the repository at this point in the history
*Excluded Files*
* test
* test/CCSI_TestOutline.xlsx
  • Loading branch information
vchendrix committed Jun 21, 2017
0 parents commit 7ff5437
Show file tree
Hide file tree
Showing 37 changed files with 14,641 additions and 0 deletions.
11 changes: 11 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Copyright <YEAR> <COPYRIGHT HOLDER>

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 changes: 30 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# A dispatch makefile for the filtered models project running make in
# each of it's component subdirs
SUBDIRS := gas-particle-cylinder_2d_models \
gas-solid-3d-models
CLEAN_TARGETS := $(SUBDIRS:%=clean-%)

# Where Jenkins should checkout ^/projects/common/trunk/
COMMON := .ccsi_common
LEGAL_DOCS := LEGAL \
CCSI_TE_LICENSE.txt

.PHONY: all $(SUBDIRS) $(CLEAN_TARGETS)

all: $(LEGAL_DOCS) $(SUBDIRS)

$(LEGAL_DOCS):
@if [ -d $(COMMON) ]; then \
cp $(COMMON)/$@ .; \
else \
svn -q export ^/projects/common/trunk/$@; \
fi

$(SUBDIRS):
@$(MAKE) -sC $@

clean: $(CLEAN_TARGETS)
@rm -rf $(LEGAL_DOCS)

$(CLEAN_TARGETS):
@$(MAKE) -sC $(@:clean-%=%) clean
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# filtered_models
Filtered models for the hydrodynamics and heat transfer associated with horizontal cylindrical objects in a flow path.

## Development Practices

* Code development will be peformed in a forked copy of the repo. Commits will not be
made directly to the ngt-archive repo. Developers will submit a pull
request that is then merged by another team member, if another team member is available.
* Each pull request should contain only related modifications to a feature or bug fix.
* Sensitive information (secret keys, usernames etc) and configuration data
(e.g database host port) should not be checked in to the repo.
* A practice of rebasing with the main repo should be used rather that merge commmits.

## Getting Started

TBD

## Authors

* William Lane

See also the list of [contributors](https://github.com/CCSI-Toolset/filtered_models/contributors) who participated in this project.

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available,
see the [tags on this repository](https://github.com/filtered_models/tags).

## License

See [LICENSE.md](LICENSE.md) file for details

## Copyright Notice

TBD
53 changes: 53 additions & 0 deletions gas-particle-cylinder_2d_models/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# A simple makefile for creating the Sorbentfit compressed tarball file
VERSION := 2016.02.00
PRODUCT := FilteredModels_GasParticleCylinder2D
LICENSE := CCSI_TE_LICENSE_$(PRODUCT).txt
PKG_DIR := CCSI_$(PRODUCT)_$(VERSION)
PACKAGE := $(PKG_DIR).tgz

PARENT_PAYLOAD := ../LEGAL
PARENT_PAYLOAD_LOCAL := $(shell echo $(PARENT_PAYLOAD) | sed 's:../::g')

PAYLOAD := $(wildcard docs/*.pdf) \
model/ \
example1 \
example2 \
test/ \
$(LICENSE)

# Get just the top part (not dirname) of each entry so cp -r does the right thing
PAYLOAD_TOPS := $(foreach v,$(PAYLOAD),$(shell echo $v | cut -d'/' -f1))
# And the payload with the PKG_DIR prepended
PKG_PAYLOAD := $(addprefix $(PKG_DIR)/, $(PAYLOAD) $(PARENT_PAYLOAD_LOCAL))

# OS detection & changes
UNAME := $(shell uname)
ifeq ($(UNAME), Linux)
MD5BIN := md5sum
endif
ifeq ($(UNAME), Darwin)
MD5BIN := md5
endif
ifeq ($(UNAME), FreeBSD)
MD5BIN := md5
endif

.PHONY: all clean

all: $(PACKAGE)

# Make compressed tar file without timestamp (gzip -n) so md5sum
# doesn't change if the payload hasn't
$(PACKAGE): $(PAYLOAD)
@mkdir $(PKG_DIR)
@cp $(PARENT_PAYLOAD) $(PKG_DIR)
@cp -r $(PAYLOAD_TOPS) $(PKG_DIR)
@tar -cf - $(PKG_PAYLOAD) | gzip -n > $(PACKAGE)
@$(MD5BIN) $(PACKAGE)
@rm -rf $(PKG_DIR) $(LICENSE)

$(LICENSE): ../CCSI_TE_LICENSE.txt
@sed "s/\[SOFTWARE NAME \& VERSION\]/$(PRODUCT) v.$(VERSION)/" < ../CCSI_TE_LICENSE.txt > $(LICENSE)

clean:
@rm -rf $(PACKAGE) $(PKG_DIR) $(LICENSE)
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added gas-particle-cylinder_2d_models/docs/test.odg
Binary file not shown.
Loading

0 comments on commit 7ff5437

Please sign in to comment.