OpenMC/include/openmc
Andrew Johnson 9b7ab0bacb
Expose/improve EnergyFunctionFilter through C-API
Add three functions that can be used to modify EnergyFunctionFilters
through the C-API:
- openmc_energyfunc_filter_set_data: set energy and y data
- openmc_energyfunc_filter_get_energy: obtain energies used in
interpolation
- openmc_energyfunc_filter_get_y: obtain ordinate values
These functions are modeled after openmc_energy_filter_[get|set]_bins.

The set_data function relies upon the new
EnergyFunctionFilter::set_data function, which is analogous
to EnergyFilter::set_bins function. Checks are performed
to make sure the energy and ordinate vectors are of equal
size before resetting and populating energy and y
private members.

An EnergyFunctionFilter did exist in openmc.capi, and has
now been flushed out to provide a better __init__ method,
as well as properties for retrieving energies and ordinates
for interpolation.
2019-07-30 11:49:21 -05:00
..
tallies Expose/improve EnergyFunctionFilter through C-API 2019-07-30 11:49:21 -05:00
angle_energy.h Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
bank.h Move secondary bank outside of Particle class 2019-03-19 13:57:42 -05:00
bremsstrahlung.h Finish TTB implementation on C++ side, still a bug somewhere 2019-01-15 07:28:47 -06:00
capi.h Expose/improve EnergyFunctionFilter through C-API 2019-07-30 11:49:21 -05:00
cell.h Update for case where the entire region is a complement. Addition of a cell and redefinition of another to test more robustly. 2019-07-24 03:02:10 -05:00
cmfd_solver.h Respond to @smharper comments on #1171 2019-02-22 14:50:13 -06:00
constants.h Update HDF5 data version to 3.0 2019-06-25 07:31:53 -05:00
container_util.h Move finalize_batch and write_source_point to C++ 2018-10-19 07:41:29 -05:00
cross_sections.h Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
dagmc.h Putting history and last_dir in the simulation namespace. 2019-06-13 23:57:25 -05:00
distribution.h Addressed P. Romano review comments 2018-12-13 15:10:00 +00:00
distribution_angle.h Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
distribution_energy.h Move headers to include/openmc directory and openmc.h -> openmc/capi.h 2018-08-20 14:40:32 -05:00
distribution_multi.h Convert source distributions to C++ 2018-08-23 15:23:47 -05:00
distribution_spatial.h Add doxygen comments where needed 2018-08-23 21:38:23 -05:00
eigenvalue.h Translate most of load_state_point to C++ 2019-02-06 07:11:44 -06:00
endf.h Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
error.h fixed compiling errors with visual studio, mostly VLAs 2019-06-05 15:18:31 -04:00
file_utils.h Add doxygen comments where needed 2018-08-23 21:38:23 -05:00
finalize.h Move openmc_finalize to C++ 2018-10-19 07:41:29 -05:00
geometry.h Update include/openmc/geometry.h 2019-06-14 11:15:16 -05:00
geometry_aux.h Cleanup UniversePartitioner code 2019-03-31 12:29:18 -04:00
hdf5_interface.h fix reading 2D string vector from attribute in hdf5 2019-06-06 17:20:14 +00:00
initialize.h Move read_ce_cross_sections to C++ 2019-01-30 22:15:48 -06:00
lattice.h Fix from_hdf5 for hex lattice with x orientation. Assorted other fixes. 2019-06-10 13:13:52 -05:00
material.h Apply suggestions from code review 2019-07-23 14:33:35 -05:00
math_functions.h Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
mesh.h Address comments on #1246 2019-06-06 17:12:49 -04:00
message_passing.h Move call to MPI_Abort to C++ side 2018-10-15 11:52:33 -05:00
mgxs.h Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
mgxs_interface.h Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
neighbor_list.h Address #1140 comments 2018-12-29 12:54:29 -05:00
nuclide.h Move cross section caches into Particle class 2019-03-19 13:56:45 -05:00
openmp_interface.h Address #1140 comments 2018-12-29 12:54:29 -05:00
output.h Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
particle.h Add a LocalCoord::rotate method as suggested by @pshriwise 2019-05-29 15:09:12 -05:00
particle_restart.h Convert particle restart to C++ 2019-02-15 10:59:23 -06:00
photon.h read in photon heating number 2019-03-26 12:56:11 -04:00
physics.h refactoring 2019-04-11 12:14:18 -04:00
physics_common.h Converted physics_common to C++ 2018-10-07 07:18:29 -04:00
physics_mg.h Make secondary_bank_ a vector and improve interfaces 2019-03-19 13:57:42 -05:00
plot.h Moving a few defaults into the class def. 2019-06-14 11:15:16 -05:00
position.h Overload operator<< for Position 2019-05-14 08:47:57 -05:00
progress_bar.h Implementation of progress bar. 2018-10-30 08:59:36 -05:00
random_lcg.h Move openmc_init, initialize_batch, openmc_simulation_finalize to C++ 2018-10-19 07:41:29 -05:00
reaction.h Remove Fortan compatibility functions 2019-02-21 22:44:24 -06:00
reaction_product.h Move ParticleType into Particle and use for type_ member 2019-03-01 15:59:21 -06:00
scattdata.h Move openmc_load_nuclide, openmc_material_add_nuclide, and read_mgxs to C++ 2019-01-30 22:15:48 -06:00
search.h Convert synchronize_bank to C++ 2018-10-15 13:42:10 -05:00
secondary_correlated.h Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
secondary_kalbach.h Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
secondary_nbody.h Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
secondary_thermal.h Respond to @nelsonag comments on #1271 2019-07-01 07:09:10 -05:00
secondary_uncorrelated.h Start adding thermal angle-energy classes on C++ side 2019-06-25 07:31:53 -05:00
settings.h Merge pull request #1222 from shikhar413/cmfd-added-funcs 2019-06-13 08:01:47 -05:00
simulation.h Use RegularMesh* for entropy and ufs 2019-05-29 11:03:32 -04:00
source.h Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
state_point.h Translate most of load_state_point to C++ 2019-02-06 07:11:44 -06:00
string_utils.h address @paulromano's comments 2019-04-17 14:11:55 -04:00
summary.h Address most @smharper and @nelsonag comments on #1152 2019-01-31 22:04:45 -06:00
surface.h A few more small updates. 2019-07-18 22:43:21 -05:00
thermal.h Refactor ThermalScattering::calculate_xs and add energy_max to class 2019-06-25 07:31:53 -05:00
timer.h Move read_ce_cross_sections to C++ 2019-01-30 22:15:48 -06:00
track_output.h Convert particle track writing to C++ 2019-02-20 15:03:36 -06:00
urr.h Fixing @paulromano comments 2018-12-07 20:38:24 -05:00
volume_calc.h Convert remainder of tallies to C++ 2019-02-21 19:30:04 -06:00
wmp.h Move read_multipole_data to C++ 2019-01-30 22:15:48 -06:00
xml_interface.h Updating xml calls for reading plots.xml. 2018-10-30 21:29:35 -05:00
xsdata.h Fix MG mode delayed nu-fission indexing bug 2019-02-07 13:13:43 -05:00