PyPartMC 2.1.2__cp315-cp315-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PyPartMC/_PyPartMC.pyd +0 -0
- PyPartMC/__generate_si.py +37 -0
- PyPartMC/__init__.py +78 -0
- PyPartMC/cmake/PyPartMCConfig.cmake +65 -0
- PyPartMC/include/PyPartMC/aero_binned.hpp +117 -0
- PyPartMC/include/PyPartMC/aero_data.hpp +283 -0
- PyPartMC/include/PyPartMC/aero_dist.hpp +85 -0
- PyPartMC/include/PyPartMC/aero_mode.hpp +359 -0
- PyPartMC/include/PyPartMC/aero_particle.hpp +275 -0
- PyPartMC/include/PyPartMC/aero_state.hpp +664 -0
- PyPartMC/include/PyPartMC/bin_grid.hpp +143 -0
- PyPartMC/include/PyPartMC/camp_core.hpp +31 -0
- PyPartMC/include/PyPartMC/condense.hpp +35 -0
- PyPartMC/include/PyPartMC/env_state.hpp +161 -0
- PyPartMC/include/PyPartMC/gas_data.hpp +105 -0
- PyPartMC/include/PyPartMC/gas_state.hpp +129 -0
- PyPartMC/include/PyPartMC/getters.hpp +55 -0
- PyPartMC/include/PyPartMC/input_guard.hpp +155 -0
- PyPartMC/include/PyPartMC/json_resource.hpp +363 -0
- PyPartMC/include/PyPartMC/output.hpp +96 -0
- PyPartMC/include/PyPartMC/photolysis.hpp +29 -0
- PyPartMC/include/PyPartMC/pmc_resource.hpp +42 -0
- PyPartMC/include/PyPartMC/rand.hpp +12 -0
- PyPartMC/include/PyPartMC/run_exact.hpp +34 -0
- PyPartMC/include/PyPartMC/run_exact_opt.hpp +46 -0
- PyPartMC/include/PyPartMC/run_part.hpp +110 -0
- PyPartMC/include/PyPartMC/run_part_opt.hpp +72 -0
- PyPartMC/include/PyPartMC/run_sect.hpp +34 -0
- PyPartMC/include/PyPartMC/run_sect_opt.hpp +54 -0
- PyPartMC/include/PyPartMC/scenario.hpp +220 -0
- PyPartMC/include/PyPartMC/si.hpp +118 -0
- PyPartMC/include/PyPartMC/util.hpp +22 -0
- PyPartMC/include/PyPartMC.hpp +28 -0
- PyPartMC/include/aero_data_parameters.hpp +27 -0
- PyPartMC/include/bpstd/detail/string_view.inl +925 -0
- PyPartMC/include/bpstd/string_view.hpp +498 -0
- PyPartMC/include/gas_data_parameters.hpp +14 -0
- PyPartMC/include/nanobind_json/nanobind_json.h +226 -0
- PyPartMC/include/nlohmann/adl_serializer.hpp +55 -0
- PyPartMC/include/nlohmann/byte_container_with_subtype.hpp +103 -0
- PyPartMC/include/nlohmann/detail/abi_macros.hpp +100 -0
- PyPartMC/include/nlohmann/detail/conversions/from_json.hpp +497 -0
- PyPartMC/include/nlohmann/detail/conversions/to_chars.hpp +1118 -0
- PyPartMC/include/nlohmann/detail/conversions/to_json.hpp +446 -0
- PyPartMC/include/nlohmann/detail/exceptions.hpp +257 -0
- PyPartMC/include/nlohmann/detail/hash.hpp +129 -0
- PyPartMC/include/nlohmann/detail/input/binary_reader.hpp +3009 -0
- PyPartMC/include/nlohmann/detail/input/input_adapters.hpp +492 -0
- PyPartMC/include/nlohmann/detail/input/json_sax.hpp +727 -0
- PyPartMC/include/nlohmann/detail/input/lexer.hpp +1633 -0
- PyPartMC/include/nlohmann/detail/input/parser.hpp +519 -0
- PyPartMC/include/nlohmann/detail/input/position_t.hpp +37 -0
- PyPartMC/include/nlohmann/detail/iterators/internal_iterator.hpp +35 -0
- PyPartMC/include/nlohmann/detail/iterators/iter_impl.hpp +751 -0
- PyPartMC/include/nlohmann/detail/iterators/iteration_proxy.hpp +242 -0
- PyPartMC/include/nlohmann/detail/iterators/iterator_traits.hpp +61 -0
- PyPartMC/include/nlohmann/detail/iterators/json_reverse_iterator.hpp +130 -0
- PyPartMC/include/nlohmann/detail/iterators/primitive_iterator.hpp +132 -0
- PyPartMC/include/nlohmann/detail/json_custom_base_class.hpp +39 -0
- PyPartMC/include/nlohmann/detail/json_pointer.hpp +988 -0
- PyPartMC/include/nlohmann/detail/json_ref.hpp +78 -0
- PyPartMC/include/nlohmann/detail/macro_scope.hpp +482 -0
- PyPartMC/include/nlohmann/detail/macro_unscope.hpp +45 -0
- PyPartMC/include/nlohmann/detail/meta/call_std/begin.hpp +17 -0
- PyPartMC/include/nlohmann/detail/meta/call_std/end.hpp +17 -0
- PyPartMC/include/nlohmann/detail/meta/cpp_future.hpp +171 -0
- PyPartMC/include/nlohmann/detail/meta/detected.hpp +70 -0
- PyPartMC/include/nlohmann/detail/meta/identity_tag.hpp +21 -0
- PyPartMC/include/nlohmann/detail/meta/is_sax.hpp +159 -0
- PyPartMC/include/nlohmann/detail/meta/std_fs.hpp +29 -0
- PyPartMC/include/nlohmann/detail/meta/type_traits.hpp +795 -0
- PyPartMC/include/nlohmann/detail/meta/void_t.hpp +24 -0
- PyPartMC/include/nlohmann/detail/output/binary_writer.hpp +1838 -0
- PyPartMC/include/nlohmann/detail/output/output_adapters.hpp +147 -0
- PyPartMC/include/nlohmann/detail/output/serializer.hpp +988 -0
- PyPartMC/include/nlohmann/detail/string_concat.hpp +146 -0
- PyPartMC/include/nlohmann/detail/string_escape.hpp +72 -0
- PyPartMC/include/nlohmann/detail/value_t.hpp +118 -0
- PyPartMC/include/nlohmann/json.hpp +5258 -0
- PyPartMC/include/nlohmann/json_fwd.hpp +75 -0
- PyPartMC/include/nlohmann/ordered_map.hpp +359 -0
- PyPartMC/include/nlohmann/thirdparty/hedley/hedley.hpp +2045 -0
- PyPartMC/include/nlohmann/thirdparty/hedley/hedley_undef.hpp +158 -0
- PyPartMC/include/output_parameters.hpp +25 -0
- PyPartMC/include/tcb/span.hpp +617 -0
- PyPartMC/include/tl/optional.hpp +2062 -0
- PyPartMC/lib/libpartmclib.a +0 -0
- pypartmc-2.1.2.dist-info/METADATA +494 -0
- pypartmc-2.1.2.dist-info/RECORD +91 -0
- pypartmc-2.1.2.dist-info/WHEEL +5 -0
- pypartmc-2.1.2.dist-info/licenses/LICENSE +674 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*##################################################################################################
|
|
2
|
+
# This file is a part of PyPartMC licensed under the GNU General Public License v3 (LICENSE file) #
|
|
3
|
+
# Copyright (C) 2022 University of Illinois Urbana-Champaign #
|
|
4
|
+
# Authors: https://github.com/open-atmos/PyPartMC/graphs/contributors #
|
|
5
|
+
##################################################################################################*/
|
|
6
|
+
|
|
7
|
+
#pragma once
|
|
8
|
+
|
|
9
|
+
extern "C" void py_pow2_above(int*, int*);
|
|
10
|
+
extern "C" void f_sphere_vol2rad(const double*, double*);
|
|
11
|
+
extern "C" void f_rad2diam(const double*, double*);
|
|
12
|
+
extern "C" void f_sphere_rad2vol(const double*, double*);
|
|
13
|
+
extern "C" void f_diam2rad(const double*, double*);
|
|
14
|
+
|
|
15
|
+
int pow2_above(int n);
|
|
16
|
+
double sphere_vol2rad(double v);
|
|
17
|
+
double rad2diam(double rad);
|
|
18
|
+
double sphere_rad2vol(double rad);
|
|
19
|
+
double diam2rad(double d);
|
|
20
|
+
|
|
21
|
+
extern "C" double py_deg2rad(double);
|
|
22
|
+
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#include <PyPartMC/aero_binned.hpp>
|
|
3
|
+
#include <PyPartMC/aero_data.hpp>
|
|
4
|
+
#include <PyPartMC/aero_dist.hpp>
|
|
5
|
+
#include <PyPartMC/aero_mode.hpp>
|
|
6
|
+
#include <PyPartMC/aero_particle.hpp>
|
|
7
|
+
#include <PyPartMC/aero_state.hpp>
|
|
8
|
+
#include <PyPartMC/bin_grid.hpp>
|
|
9
|
+
#include <PyPartMC/camp_core.hpp>
|
|
10
|
+
#include <PyPartMC/condense.hpp>
|
|
11
|
+
#include <PyPartMC/env_state.hpp>
|
|
12
|
+
#include <PyPartMC/gas_data.hpp>
|
|
13
|
+
#include <PyPartMC/gas_state.hpp>
|
|
14
|
+
#include <PyPartMC/getters.hpp>
|
|
15
|
+
#include <PyPartMC/input_guard.hpp>
|
|
16
|
+
#include <PyPartMC/json_resource.hpp>
|
|
17
|
+
#include <PyPartMC/output.hpp>
|
|
18
|
+
#include <PyPartMC/photolysis.hpp>
|
|
19
|
+
#include <PyPartMC/pmc_resource.hpp>
|
|
20
|
+
#include <PyPartMC/rand.hpp>
|
|
21
|
+
#include <PyPartMC/run_exact.hpp>
|
|
22
|
+
#include <PyPartMC/run_exact_opt.hpp>
|
|
23
|
+
#include <PyPartMC/run_part.hpp>
|
|
24
|
+
#include <PyPartMC/run_part_opt.hpp>
|
|
25
|
+
#include <PyPartMC/run_sect.hpp>
|
|
26
|
+
#include <PyPartMC/run_sect_opt.hpp>
|
|
27
|
+
#include <PyPartMC/scenario.hpp>
|
|
28
|
+
#include <PyPartMC/util.hpp>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
#ifdef PMC_USE_CAMP
|
|
3
|
+
#endif
|
|
4
|
+
#ifdef PMC_USE_MPI
|
|
5
|
+
#endif
|
|
6
|
+
#define AERO_NAME_LEN 50
|
|
7
|
+
#define AERO_SOURCE_NAME_LEN 100
|
|
8
|
+
#ifdef PMC_USE_MOSAIC_MULTI_OPT
|
|
9
|
+
#define n_swbands 5
|
|
10
|
+
#else
|
|
11
|
+
#define n_swbands 1
|
|
12
|
+
#endif
|
|
13
|
+
#ifdef PMC_USE_CAMP
|
|
14
|
+
#endif
|
|
15
|
+
#define n_mosaic_spec 19
|
|
16
|
+
#ifdef PMC_USE_CAMP
|
|
17
|
+
#else
|
|
18
|
+
#endif
|
|
19
|
+
#ifdef PMC_USE_MPI
|
|
20
|
+
#endif
|
|
21
|
+
#ifdef PMC_USE_MPI
|
|
22
|
+
#endif
|
|
23
|
+
#define MAX_SPECIES 1000
|
|
24
|
+
#define MAX_SOURCES 1000
|
|
25
|
+
#ifdef PMC_USE_CAMP
|
|
26
|
+
#endif
|
|
27
|
+
|