Skip to content

Commit

Permalink
version 1.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
tarekbardouni committed Jun 3, 2020
1 parent 922b999 commit e70d266
Show file tree
Hide file tree
Showing 13 changed files with 78 additions and 80 deletions.
Binary file modified bin/ERSN-OpenMC-v1.7.2.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion build/built-jar.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Sat, 30 May 2020 23:54:38 +0100
#Wed, 03 Jun 2020 14:16:57 +0100


/home/tarek/ERSN-OpenMC/ERSN-OpenMC-v1.7.2=
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$12.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$147.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$148.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$149.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$150.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$151.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main$152.class
Binary file not shown.
Binary file modified build/classes/ersn/openmc/ERSNOpenMC_Main.class
Binary file not shown.
Binary file modified dist/ERSN-OpenMC-v1.7.2.jar
100644 → 100755
Binary file not shown.
1 change: 0 additions & 1 deletion nbproject/private/private.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
<group>
<file>file:/home/tarek/ERSN-OpenMC/ERSN-OpenMC-v1.7.2/src/ersn/openmc/ERSNOpenMC_Main.java</file>
<file>file:/home/tarek/ERSN-OpenMC/ERSN-OpenMC-v1.7.2/src/ersn/openmc/ERSNOpenMC_RGB_COLOR.java</file>
</group>
</open-files>
</project-private>
155 changes: 77 additions & 78 deletions src/ersn/openmc/ERSNOpenMC_Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,13 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
jInternalFrame2.setVisible(true);

geometryTxt.addAncestorListener(new javax.swing.event.AncestorListener() {
public void ancestorMoved(javax.swing.event.AncestorEvent evt) {
}
public void ancestorAdded(javax.swing.event.AncestorEvent evt) {
geometryTxtAncestorAdded(evt);
}
public void ancestorRemoved(javax.swing.event.AncestorEvent evt) {
}
public void ancestorMoved(javax.swing.event.AncestorEvent evt) {
}
});
jScrollPane2.setViewportView(geometryTxt);

Expand Down Expand Up @@ -2698,27 +2698,27 @@ private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event
private void btn_cellActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_cellActionPerformed
geometryTxt.replaceSelection(
"<cell id=\"\" >\n"
+ " <material> </material> \n"
+ " <region> </region> \n"
+ " <universe> </universe> \n"
+ " <fill> </fill> \n"
+ " <rotation> </rotation> \n"
+ " <translation> </translation> \n"
+ " <material> </material> \n"
+ " <region> </region> \n"
+ " <universe> </universe> \n"
+ " <fill> </fill> \n"
+ " <rotation> </rotation> \n"
+ " <translation> </translation> \n"
+ "</cell>\n");
}//GEN-LAST:event_btn_cellActionPerformed

private void btn_tallyActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_tallyActionPerformed
//int caretPosition = talliesTxt.getCaretPosition();
talliesTxt.replaceSelection(
"<tally id=\"\" >\n <name > </name>\n"
+ " <filters> </filters>\n"
+ " <scores > </scores>\n"
+ " <nuclides> </nuclides>\n"
+ " <trigger>\n"
+ " <type> </type>\n"
+ " <threshold> </threshold>\n"
+ " <scores> </scores>\n"
+ " </trigger>\n"
+ " <filters> </filters>\n"
+ " <scores > </scores>\n"
+ " <nuclides> </nuclides>\n"
+ " <trigger>\n"
+ " <type> </type>\n"
+ " <threshold> </threshold>\n"
+ " <scores> </scores>\n"
+ " </trigger>\n"
+ "</tally>\n");
//talliesTxt.setCaretPosition(Math.min(caretPosition, talliesTxt.getText().length()));
}//GEN-LAST:event_btn_tallyActionPerformed
Expand Down Expand Up @@ -2753,21 +2753,20 @@ private void menu_existing_projectActionPerformed(java.awt.event.ActionEvent evt
private void btn_latticeActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_latticeActionPerformed
geometryTxt.replaceSelection(
"<lattice id=\" \" dimension=\" \" outer=\" \">\n"

+" <lower_left> </lower_left> \n"
+" <pitch> </pitch> \n"
+" <universes> \n\n"
+" </universes> \n"
+" <lower_left> </lower_left> \n"
+" <pitch> </pitch> \n"
+" <universes> \n\n"
+" </universes> \n"
+"</lattice>\n");
}//GEN-LAST:event_btn_latticeActionPerformed
private void btn_meshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_meshActionPerformed
talliesTxt.replaceSelection(
"<mesh id=\"\">\n" +
" <type> </type> \n" +
" <dimension> </dimension> \n" +
" <upper_right> </upper_right> \n" +
" <lower_left> </lower_left> \n" +
" <width> </width> \n" +
" <type> </type> \n" +
" <dimension> </dimension> \n" +
" <upper_right> </upper_right> \n" +
" <lower_left> </lower_left> \n" +
" <width> </width> \n" +
"</mesh>\n");
}//GEN-LAST:event_btn_meshActionPerformed

Expand All @@ -2777,28 +2776,28 @@ private void btn_assume_separateActionPerformed(java.awt.event.ActionEvent evt)

private void btn_plot_sliceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_plot_sliceActionPerformed
plottingTxt.replaceSelection(
"<plot id=\"\" color_by=\"\" type=\"slice\" basis=\"\" >\n" +
" <origin> </origin>\n" +
" <pixels> </pixels>\n" +
" <width> </width>\n" +
" <color id=\"\" rgb=\"\"/>\n" +
" <mask components=\"\" background=\"\"/>\n" +
" <meshlines meshtype=\"\" id=\"\" linewidth=\"\" /> \n "+
"<plot id=\"\" color_by=\"\" type=\"slice\" basis=\"\" background=\"\">\n" +
" <origin> </origin>\n" +
" <pixels> </pixels>\n" +
" <width> </width>\n" +
" <color id=\"\" rgb=\"\"/>\n" +
" <mask components=\"\" background=\"\"/>\n" +
" <meshlines meshtype=\"\" id=\"\" linewidth=\"\" /> \n "+
"</plot>\n"
);
}//GEN-LAST:event_btn_plot_sliceActionPerformed

private void btn_plot_voxelActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_plot_voxelActionPerformed
plottingTxt.replaceSelection(
"\n" +
"<plot id=\"\" type=\"voxel\" background=\"\">\n" +
" <color_by> </color_by>\n" +
" <origin> </origin>\n" +
" <pixels> </pixels>\n" +
" <width> </width>\n" +
" <color id=\"\" rgb=\"\"/>\n" +
" <mask components=\"\" background=\"\"/>\n" +
" <meshlines meshtype=\"\" id=\"\" linewidth=\"\" /> \n" +
"<plot id=\"\" type=\"voxel\" background=\"\">\n" +
" <color_by> </color_by>\n" +
" <origin> </origin>\n" +
" <pixels> </pixels>\n" +
" <width> </width>\n" +
" <color id=\"\" rgb=\"\"/>\n" +
" <mask components=\"\" background=\"\"/>\n" +
" <meshlines meshtype=\"\" id=\"\" linewidth=\"\" /> \n" +
"</plot>\n"
); }//GEN-LAST:event_btn_plot_voxelActionPerformed

Expand Down Expand Up @@ -2829,15 +2828,15 @@ private void btn_stolActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRS
private void btn_mesh_cmfdActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_mesh_cmfdActionPerformed
cmfdTxt.replaceSelection(
"<mesh>\n" +
" <dimension> </dimension>\n" +
" <upper_right> </upper_right>\n" +
" <lower_left> </lower_left>\n" +
" <energy> </energy>\n" +
" <albedo> </albedo>\n" +
" <width> </width>\n" +
" <map> </map>\n" +
" <universes>\n\n" +
" </universes>\n" +
" <dimension> </dimension>\n" +
" <upper_right> </upper_right>\n" +
" <lower_left> </lower_left>\n" +
" <energy> </energy>\n" +
" <albedo> </albedo>\n" +
" <width> </width>\n" +
" <map> </map>\n" +
" <universes>\n\n" +
" </universes>\n" +
"</mesh>\n");
}//GEN-LAST:event_btn_mesh_cmfdActionPerformed

Expand Down Expand Up @@ -2975,19 +2974,19 @@ private void btn_comment_settingsActionPerformed(java.awt.event.ActionEvent evt)

private void btn_sourceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_sourceActionPerformed
settingsTxt.replaceSelection("<source>\n" +
" <file> </file>\n" +
" <space> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </space>\n" +
" <angle> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </angle>\n" +
" <energy> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </energy>\n" +
" <file> </file>\n" +
" <space> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </space>\n" +
" <angle> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </angle>\n" +
" <energy> \n" +
" <type> </type> \n" +
" <parameters> </parameters> \n" +
" </energy>\n" +
"</source>\n");
}//GEN-LAST:event_btn_sourceActionPerformed

Expand All @@ -2997,9 +2996,9 @@ private void btn_verbosityActionPerformed(java.awt.event.ActionEvent evt) {//GEN

private void btn_uniform_fsActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_uniform_fsActionPerformed
settingsTxt.replaceSelection("<uniform_fs>\n" +
" <lower_left> </lower_left>\n" +
" <upper_right> </upper_right>\n" +
" <dimension> </dimension>\n" +
" <lower_left> </lower_left>\n" +
" <upper_right> </upper_right>\n" +
" <dimension> </dimension>\n" +
"</uniform_fs>\n");
}//GEN-LAST:event_btn_uniform_fsActionPerformed

Expand All @@ -3023,8 +3022,8 @@ private void btn_survival_biasingActionPerformed(java.awt.event.ActionEvent evt)

private void btn_state_pointActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_state_pointActionPerformed
settingsTxt.replaceSelection("<state_point>\n" +
" <batches> </batches>\n" +
" <interval> </interval>\n" +
" <batches> </batches>\n" +
" <interval> </interval>\n" +
"</state_point>\n");

}//GEN-LAST:event_btn_state_pointActionPerformed
Expand All @@ -3047,9 +3046,9 @@ private void btn_output_pathActionPerformed(java.awt.event.ActionEvent evt) {//G

private void btn_outputActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_outputActionPerformed
settingsTxt.replaceSelection("<output>\n" +
" <cross_sections> false </cross_sections>\n" +
" <summary> false </summary> \n" +
" <tallies> false </tallies> \n" +
" <cross_sections> false </cross_sections>\n" +
" <summary> false </summary> \n" +
" <tallies> false </tallies> \n" +
"</output>\n");
}//GEN-LAST:event_btn_outputActionPerformed

Expand All @@ -3059,8 +3058,8 @@ private void btn_no_reduceActionPerformed(java.awt.event.ActionEvent evt) {//GEN

private void btn_fixed_sourceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_fixed_sourceActionPerformed
settingsTxt.replaceSelection("<run_mode>fixed source</run_mode>\n" +
" <batches> </batches>\n" +
" <particles> </particles>\n");
" <batches> </batches>\n" +
" <particles> </particles>\n");
}//GEN-LAST:event_btn_fixed_sourceActionPerformed

private void btn_entropy_meshActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_entropy_meshActionPerformed
Expand All @@ -3078,11 +3077,11 @@ private void btn_energy_gridActionPerformed(java.awt.event.ActionEvent evt) {//G

private void btn_eignvalueActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_eignvalueActionPerformed
settingsTxt.replaceSelection("<run_mode>eigenvalue</run_mode> \n" +
" <batches> </batches>\n" +
" <generations_per_batch>" +
" </generations_per_batch>\n" +
" <inactive> </inactive> \n" +
" <particles> </particles> \n");
" <batches> </batches>\n" +
" <generations_per_batch>" +
" </generations_per_batch>\n" +
" <inactive> </inactive> \n" +
" <particles> </particles> \n");
}//GEN-LAST:event_btn_eignvalueActionPerformed

private void btn_cutoffActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btn_cutoffActionPerformed
Expand Down

0 comments on commit e70d266

Please sign in to comment.