This file contains 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
#include "position.h" | |
#include "plucker.h" | |
int main() { | |
} |
This file contains 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 | |
# stop script on returned error code | |
set -e | |
# SCRIPT PARAMETERS | |
topdir=$HOME/aurora_build | |
compile_cores=20 | |
# GLOBAL VARS |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
import openmc | |
# constants | |
l = 1.0 | |
h = 1.0 | |
model = openmc.model.Model() | |
# materials |
This file contains 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
#!/usr/bin/env python | |
import numpy as np | |
from progressbar import progressbar | |
import openmc | |
import openmc.lib | |
# main parameters | |
n_axial = 500 |
This file contains 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/env python | |
from argparse import ArgumentParser | |
from pymoab import core, types | |
_VALID_GEOM_TYPES = ("Group", "Volume", "Surface", "Curve", "Vertex") | |
This file contains 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
import sys | |
import matplotlib.pyplot as plt | |
from matplotlib.ticker import AutoMinorLocator | |
from matplotlib.patches import Rectangle | |
from matplotlib.collections import PatchCollection | |
import os | |
import argparse as ap | |
import numpy as np |
This file contains 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
DAGMC_DIR=/home/shriwise/opt/dagmc | |
MOAB_DIR=/home/shriwise/opt/moab | |
DAGMC_LIB_DIR=$(DAGMC_DIR)/lib | |
MOAB_LIB_DIR=$(MOAB_DIR)/lib | |
CXX=g++ | |
all: | |
$(CXX) dagmc_vols.cpp -I$(DAGMC_DIR)/include -I$(MOAB_DIR)/include -L$(DAGMC_LIB_DIR) -L$(MOAB_LIB_DIR) -ldagmc -lMOAB -Wl,-rpath=$(DAGMC_LIB_DIR) -Wl,-rpath=$(MOAB_LIB_DIR) -o dagmc_vols |
This file contains 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
reset | |
create sphere radius 1.4 inner radius 1.25 | |
create sphere radius 1.25 | |
merge all | |
webcut body all xplane | |
webcut body all yplane | |
webcut body all zplane | |
delete volume 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | |
merge all |