This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-add-repository -y -s ppa:kernsuite/kern-1 | |
sudo apt-add-repository -y multiverse | |
sudo apt-get update; sudo apt-get -y dist-upgrade | |
sudo apt install -y qt5-default libqt5webkit5-dev flex bison libbison-dev sqlite sqlite3 libsqlite3-dev libleveldb-dev cython python-matplotlib gfortran libblas-dev libblas3 mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev libqt5svg5 libqt5svg5-dev libqt5designer5 libqt5designercomponents5 qttools5-dev libfftw3-dev doxygen libeigen3-dev liblapack-dev wcslib-dev libxml2-dev libxslt1-dev libxerces-c-dev libreadline-dev libncurses5-dev | |
export CARTAWORKHOME=/home/angus/cartawork | |
export cartawork=/home/angus/cartawork | |
mkdir -p $cartawork/CARTAvis-externals/ThirdParty | |
cd $cartawork/CARTAvis-externals/ThirdParty |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#trap 'kill $(jobs -p)' EXIT | |
# Batch parameters | |
N_PROC=4 | |
Z_ROT=0 | |
N_EV_MIL=80 | |
JOB_NAME=dummyTest | |
FILL_WIDTH=44 | |
FILL_THICKNESS=11.5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool cfdSample(float* inputData, float inputBaseline, int inputNumSamples, float inputF, int inputL, int inputD, float inputOffset, float inputScale, float*& outputData) | |
{ | |
float F=inputF; | |
int L=inputL; | |
int D=inputD; | |
int N=inputNumSamples; | |
//start from k-(L+D)=0 => k=L+D | |
int k=L+D; | |
if (k>inputNumSamples) | |
return false; |
NewerOlder