sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
74095942c29e67eab206a975eb3c2ee829c74a20696fe6d57d38de1a7a79f053
C++
7,186
320
/**************************************************************************** ** ** Copyright (c) 2009-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/libqhullcpp/QhullPoints.cpp#3 $$Change: 2066 $ ** $DateTime: 2016/01/18 19:29:17 $$Author: bbarber $ ** ********************************************...
ef10c0cc4ece1e47b5efe0823e42084354c03aae441f040e85acef253381796e
C++
7,197
235
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
fb36a0307052be89754557f392102cc5d4819b726f752c87fa7cb67c9399e3c3
C++
7,226
188
/* Copyright (C) 2014 Sergey Demyanov. contact: sergey@demyanov.net http://www.demyanov.net This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
841cb04e3648e4e4b235f9dcdeb1f52b2f5bf0dbc9a890b331efce241e8d7bf9
C++
7,242
252
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
941bdeae8e50af7e7b3ab7a7edf0728b4b71711440d87b1b55840214a57f5859
C++
7,245
234
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
cf2649d599905f381de0c8bc248ca28f377d1da88fa1ef5954fdd4f77109ee0e
C++
7,245
218
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for detai...
926d9a3c81a744abd85f5ffc368e15710168d1246e968a6cfcafc8885919fd25
C++
7,253
349
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
a251d4974461ff50e442fd700b5ebec596e502032680d535d1f1692e7bb682a3
C++
7,261
218
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for d...
e799058ea316201f74475e25f6da23df0ff08e4825b634513580a9e25afadbb5
C++
7,261
234
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
1a2df14ece4d7baac2715cd3ff425b63bebfda98323a70b38750b8c1b5a2d717
C++
7,304
303
/* * Copyright (C) 2011-2012 Regents of the University of Michigan, * Hyun Min Kang, Matthew Flickenger, Matthew Snyder, * and Goncalo Abecasis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
ff981a3e40777b5b379edcf0821da24379abb43ff7ee2b3e774a7dedc6dcc6bf
C++
7,314
210
#include "steps/util/strong_id.hpp" #include "steps/util/strong_ra.hpp" #include <numeric> #include <catch2/catch_test_macros.hpp> using steps::util::is_promotion; using steps::util::strong_id; static constexpr struct random_id_trait_t { } random_id_trait{}; static constexpr struct not_a_number_t { } not_a_number{}...
530ca662107366200ad5489f544b1ebc028caede393b608edd3ebbb63c839ae8
C++
7,322
181
/* Copyright (C) 2014 Sergey Demyanov. contact: sergey@demyanov.net http://www.demyanov.net This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any l...
4cce89956552f9bfa174b80dc39848ebece1ba7d83c82d582438a9e0708ee285
C++
7,341
254
/* * Copyright (C) 2011 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
13809170996cb3d18685011920c9b50952e23727d261da2821299c36b6ff682c
C++
7,380
260
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "dict.h" #include "parser.h" #include <assert.h> #include <algorithm> #include <iterator> #include <cmath> #include <fst...
457cdd696ea7b7070ff2ee49243fbaca8f4000c89460a6e1edc9858b82ed09f4
C++
7,412
264
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
735d36aba90c4bf30efcb252d88f01f5b9e194f574f5d677e485e2f369f3d314
C++
7,413
145
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
3604d103b8b3b97645b0e7698e200d2e8f9e018cd6657a4a20e798bfb2f29e5d
C++
7,415
201
#include <algorithm> #include <cmath> #include <iostream> #include <iterator> #include <map> #include <utility> #include <vector> #include "math/tools.hpp" #include "rng/create.hpp" #include "util/error.hpp" #include <catch2/catch_test_macros.hpp> using namespace steps::rng; using namespace steps::math; ///--- sig...
c4a9d14a3e3137df10f43ebeffd683ddafd83de4a5a1b981c5b800a424b00a2e
C++
7,435
169
#include "Descriptors.h" #include <cassert> #include "Debug/Debug.h" // *************** Descriptor Set Layout Builder ********************* DescriptorSetLayout::Builder& DescriptorSetLayout::Builder::addBinding(uint32_t binding, VkDescriptorType descriptorType, ...
08d414fa1b7d3b060ca0852052f2b2fb844dc21404459aab4db6eaef8abac6df
C++
7,444
229
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
cd381667b42b02c18de51f5635cbb817eeabf861a84ab19d15f93d845ca146dc
C++
7,445
251
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
f71d0768976e71f1b85f7711a89f597a084141390c4333fdc715b1a65b109bf8
C++
7,461
251
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
17e263feb5c2e755e42e23c2a0346997f7b20d0ee6d182909725e345f803d758
C++
7,499
255
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
9fe86b347dd92cdf7bfe1f6a375459fb91395828dcce47d2344611209fbb2265
C++
7,533
232
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
eceeb26b9e63d5c282a5bd8198a0eb651efe107c1293b012dc6e7766a3ff1d5b
C++
7,555
239
/* * Copyright (C) 2010-2012 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
c2d017caad75c3578ff388a5d5d0852373dab7bc855707d494536a63a7f247d5
C++
7,577
198
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
0f91b8c5feaf6a327c4a67a1fedd877addf467405bac2b04a71398373fec9dae
C++
7,597
222
// trimmed_filter_main.cpp for the trimmed_filter.cpp (for compiling and running from the terminal) /* % Revision History: % 2008: First release % 2023: Renamed from deprecated version TrimmedFilter.cpp % % Reza Sameni, 2022-2023 The Open-Source Electrophysiological Toolbox % https://github.com/alphanumericslab/OS...
a77f54f95a533fe37d4a5e8519f7e3d9c784baa8fce86b92f8ad213766af00f7
C++
7,602
172
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
cc1a1ebb1efb0eadfa934eae09835a1bddd3319e1fa908f7cd348d12dd225455
C++
7,622
186
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
9dfd86ff33af895030e02010de0fb81ba71a013ecc2602574d4e7e5bbdfb0b20
C++
7,623
242
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
685083b99e74185fe54b8c6b1d1add699f97ab55aa9f674797fbd40494e92062
C++
7,665
293
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
19b3551a989e2da65e78adc9bef9eabba394c0b9306b14ac8c547b6c05375911
C++
7,740
206
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
817ff508e581f109cb9d688d0d82391d14c24bc9d53bef3c06afc0a561db1b9e
C++
7,756
206
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
51f1f7dbc013e896db8c549a968d64cdd94478026bee12a86b47ee2d9047ab8b
C++
7,758
219
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
80c94aa0b126c1363a349ce2d775376626080ac9cbbde6e25f2ecd74c92f5178
C++
7,780
219
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
285f07cb59ac9dec6728878c10462728093fa290e5a275523d9e2a12d91dff6b
C++
7,859
269
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
f87bddd8abc854b82c8c5e9487b0f9d75680aa8af9c05aa6d299f702ad63b1a8
C++
7,866
265
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
75a0c634c00997342fc774b308c502c0be1a652f06a55b7e66a7225f19f0e922
C++
7,870
265
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
adeb43af2824031b3a82986dd7fc1073ccf19154bb3c5cc6303e91cd84af9206
C++
7,875
269
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
5d2c256e52ea03486bb7881d4b8ae00ce3efd54494925094fda2c94f6faac775
C++
7,878
271
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
d27bee6d2e3157bb15f474ab34ff7540ac54648072ee6b248c89e685c2c7edb6
C++
7,891
240
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
46803e3a11a275804f9a5ec8cb82e08b288ad0e23d96d659ab4b76a9f15682a0
C++
7,960
203
#include "setupTests.h" namespace { const auto beamlineFilename = "METRIX_U41_G1_H1_318eV_PS_MLearn_v114"; } // namespace TEST_F(TestSuite, RayAttrMask) { EXPECT_EQ(RayAttrMask::None, static_cast<RayAttrMask>(0)); // operator | EXPECT_EQ(RayAttrMask::PositionX | RayAttrMask::PositionY | RayAttrMask::Pos...
78d8c34b51dc8f975401f70866a85e7644eccd81de745f8069f35186f40da11e
C++
7,964
247
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
1479796d9896fea97be205eb379524744fb103e450394dbe657ffb1aabfe0856
C++
8,002
210
#include "rleaping_operator.hpp" #include "../kproc/diffusions.hpp" #include "../kproc/kproc_state.hpp" #include "mpi/dist/tetopsplit/kproc/kproc_id.hpp" #include "util/collections.hpp" #include "util/profile/profiler_interface.hpp" #include <cstddef> #include <limits> #include <random> #include <stdexcept> #include <...
f97294179f5449bff852f8bfae16af0fb52222c6936fc3a87f2540e698742b7b
C++
8,065
251
// *************************************************************************** // TcpSocketEngine_win_p.cpp (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 8 December 2011 (DB) // ----------------...
3df15f3c616fa2057e767958a4fc88bb8b2e71134840d666f834128869f2da84
C++
8,100
259
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
0b30a9616caea117ca0ba8543c62b8771aba88da6175e8d32bd2e1c8c61deb69
C++
8,139
224
#include "distcomp.hpp" #include <sstream> #include "util/error.hpp" #include "util/mpitools.hpp" namespace steps::dist { DistComp::DistComp(const mesh::compartment_name& compartment, DistMesh& mesh, double cond) : DistComp(compartment, mesh, compartment, cond) { mesh.addComp(model::compartment_id(compartme...
9d43ad5296725fb84c7f497d2c1812571eb9769e4d5eb6d2f1db97d830325d1e
C++
8,146
227
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
92775984dfe21493e5c8f61cbd52599f5e81367f26a57b6457f9a840717449e4
C++
8,164
247
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b3a7c8c1a2648abbe4ade190aa311cb57890258000f24c201cd93f0e4a510103
C++
8,169
221
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
394237e707dba481c8c7f52329b429dfc98a53b442c8cc542f4ebe0a97d35771
C++
8,213
224
#include "setupTests.h" // define globally decralred invocation state ConstState inv; std::unique_ptr<Tracer> tracer; // helper functions double parseDouble(std::string s) { double d; #if defined(WIN32) if (sscanf_s(s.c_str(), "%le", &d) != 1) { #else if (sscanf(s.c_str(), "%le", &d) != 1) { #endif ...
512df7fca83490636520cde0044891e612f73189bc1422ea94692de5e0e29372
C++
8,226
275
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d4668047544a2fddd872ea2cadb70d8d0bab1f9d2256a43766a7645e0e0209ef
C++
8,240
283
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "data.h" #include <string> #include <vector> #include <fstream> #include <numeric> #include <assert.h> using namespace s...
0a810b9ddf40f1824e89aed084800fdbbdd91dd7656bfe737730dce417fb1f2a
C++
8,254
138
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
9454048de84610017af069b121a7cdc01acd022fde10dc5e8cdb2ac6685c79b7
C++
8,258
244
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
b0ed11665b7ae347f2d73182a421acf9b04e6b32d2c692f053a0a55b72edfd7a
C++
8,269
248
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
846e6dd284572d30a6bc27d62452b112b299bbaa5e1e34fa005527c259ac15ef
C++
8,271
269
// *************************************************************************** // SamFormatPrinter.cpp (c) 2010 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 25 October 2011 (DB) // ---------------------...
a5997a3940844e58a8081bde2ad53bcc041d183c7ac6e3db2dd1cf7100ded379
C++
8,285
265
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
a06f5b44be31065637fed934a9f210c00c65f9f5dc9d7195dcec395bf0bf6111
C++
8,301
265
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
a2db9949d5c2d8317ef8ded118f95fd2142772de7c38f93cb9587201f36c6497
C++
8,343
237
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
08ea418c607290707f2677025ddef5d0399066f1299d3ee5e1bf59ed95cf7d63
C++
8,348
236
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
c253cb7b84078d092fc0559f51ede37cf1663cb45e9f602ecc387862b0288e7a
C++
8,387
262
// *************************************************************************** // bamtools_merge.cpp (c) 2010 Derek Barnett, Erik Garrison // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 10 December 2012 // ------------...
434c0afc34667e83a6209df5339ed3643c1a1472934f68e5d1031cef29520d6b
C++
8,413
230
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
8a22fb4984ac8baeea847a2b12bef80996522d0d4b9f1e24929d809dc431f29e
C++
8,423
255
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
234f3d4c7fc570aebc9bbe8e5d7c2a95cb75dff13cc7ea5be4f4876563bd4e68
C++
8,430
201
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
df4792927960b64b8f6494dcbb3783a77124b806be4d93a66d00aaa0d16ef20f
C++
8,434
271
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
d2ebbdb8ec1fd02681beeadfa966dfc3205d8dfbc9d042d71e8b611aeb20c541
C++
8,439
231
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
effe0d34d796c0b383202124bb8f9eeca00710ce41f97246577b8d944ebf502c
C++
8,443
275
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
b35fa8a5c151c9bdeb9722e08136212fe6cb84c24b4569cf5f1539ec10a52a76
C++
8,459
275
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
d00a8669cd961feb6ae2410724783e503172d3d8299a0968951fa5c1c053ed6c
C++
8,462
425
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
d817f25b662058ba13fb29a50c55ca1ea6f109de4ed9ea640842bf7d11cf4c72
C++
8,464
201
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
350a0391c243612e80eed0ddfee1d351bb82da21ec9033072a557bc398885e1d
C++
8,509
241
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
49e190d6f8a99186f9d34ac4e5d8e40147e045d20217d3283324facb802189b1
C++
8,510
270
#include "Surface.h" #include "Beamline/Beamline.h" #include "Design/DesignElement.h" namespace rayx { Surface makeSurface(const DesignElement& dele) { switch (dele.getCurvatureType()) { case CurvatureType::Toroidal: return makeToroid(dele); case CurvatureType::Spherical: ...
eda1bff30176601929b2ffbbd90928a77e42729bc1b265caec8b3f53f408bbed
C++
8,525
224
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
a4b7eea51d5d9c5d815d14e4376a6fb8051a24d8913f55c4e5a47ac72e9896c9
C++
8,537
331
/* * Copyright (C) 2010-2011 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any la...
adcbbca40ee2df977066f5dd76ea396d19cac6646430dab7e6f199584940fbc2
C++
8,554
258
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
22eb5ce426283bfce60776ffc5173fbe2800539b5727930e57fd543fe09f2465
C++
8,570
330
/* * Copyright (C) 2010-2011 Regents of the University of Michigan, * Hyun Min Kang, Matthew Flickenger, Matthew Snyder, * and Goncalo Abecasis * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General...
e32ffb466e0b836e886b542d35e007e267396dd4a8661cce78225360e0d759b4
C++
8,575
278
#ifndef SUP_FUNCTIONS_HPP_ #include "sup_functions.hpp" #endif #include <array> #include <cmath> #include <filesystem> #include <iostream> #include <string> #include <vector> using namespace std; namespace sup { // 数据展开 template <class dtype> const vector<dtype> vec_flat(const vector<vector<dtype>> &in_data) { v...
f2c6a712980916a05ee975b06e59b6da6fb35b69016e5517e46ea452dbbacf56
C++
8,603
208
#include "patchdef.hpp" #include "sreacdef.hpp" #include "statedef.hpp" namespace steps::dist { //------------------------------------------------------- template <> std::vector<std::unique_ptr<SReacdef>>& Patchdef::getContainer<SReacInfo>() { return reacdefPtrs_; } //-----------------------------------------...
27f67521c0fb5a85ea8488d193f912a664bf31289415e74878660da5cc4f478c
C++
8,610
295
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
8eb98307952ef7f0332c0da055a74c58949c51e54926149ed0f3cac97bdaec46
C++
8,617
276
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
a9b3278dda8e0e0ce0f30dd61c7c6e86ad4f7c9fcee1c8bf9f3cbfe1b02fab50
C++
8,654
243
#include "setupTests.h" TEST_F(TestSuite, allBeamlineObjects) { rayx::Beamline bl = loadBeamline("allBeamlineObjects"); // Point, Circle, Dipole, Matrix, Pixel, simple Undulator CHECK_EQ(bl.numSources(), 6); // Cone, Cylinder, Ellipsoid, Paraboloid, plane mirror, toroid, slit, sphere grating, plane gra...
484e5e96e1041063ecd3ef066c0ab9a6d332e8a752462dc1c4ea188125d4cb4d
C++
8,707
269
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
7c7462f5adeeb3267c5383dc3f678dbb5f0492d7bd5eb339f3308fb1ce540358
C++
8,710
376
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
2172e0ac82359a19f2880763e2088f51b7ec361b23fb54f743b618691967dbe5
C++
8,739
289
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <float.h> #include <string.h> // This work is based on: // Nicolas Capens. Advanced Rasterization. 2004 namespace meshopt { const int kViewport = 256; struct Overdra...
2e4e74b91cabf50109743d1e0304ff9f993c11957b4355fe6bcc287e31632f94
C++
8,787
254
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
fc338472fa2d224e37286fda6d3276b272dc4261aff2d8cd736bb834bbce6a87
C++
8,816
256
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
2b974eb72260c5b3b7beeb987f0c9e4e3f9c7c0cef2ec498f4bc6e8925312d7b
C++
8,835
315
#ifndef GDATA_CLASS_HPP_ #include "gdata_class.hpp" #endif void Gdata::error(int error_num) const { switch (error_num) { case 1: throw runtime_error("Error G1: molecule ID out of range!\n"); break; case 2: throw runtime_error("Error G2: molecule not found!\n"); ...
4cc125e29f514355b17b986a22398d1ba1980bb44798414e24142f6ef1f82069
C++
8,849
275
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2023 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for ...
168e7285f3596ccb2a31f91413583c15a3d5d992f15a90ed643f441aff42efb5
C++
8,867
337
// *************************************************************************** // RollingBuffer_p.cpp (c) 2011 Derek Barnett // Marth Lab, Department of Biology, Boston College // --------------------------------------------------------------------------- // Last modified: 8 December 2011 (DB) // ----------------------...
6465c7cc6e17275ef0ec5b8e71fe0299b7902f177e4419e75fa48109a950dd31
C++
8,912
272
#include "CsvWriter.h" #include <filesystem> #include <fstream> #include <queue> #include "Beamline/StringConversion.h" #include "Debug/Debug.h" namespace rayx { namespace fs = std::filesystem; namespace { constexpr int PADDING = 0; // extra spaces on the left side in each cell for better readability // see htt...
13b3639d77d93fddbbee2a5c147980221b3de4f6b48a62448de5cd801627cfa5
C++
8,935
202
#include "rssa_operator.hpp" #include <functional> #include <vector> #include "mpi/dist/tetopsplit/definition/reacdef.hpp" #include "mpi/dist/tetopsplit/kproc/diffusions.hpp" #include "mpi/dist/tetopsplit/kproc/fwd.hpp" #include "mpi/dist/tetopsplit/kproc/kproc_state.hpp" #include "mpi/dist/tetopsplit/kproc/reactions...
691695efaad558dbfdcc0780288fb1d4da41a9073c65e37addf8489ef9d5ed8b
C++
8,977
275
/* ################################################################################# # # STEPS - STochastic Engine for Pathway Simulation # Copyright (C) 2007-2026 Okinawa Institute of Science and Technology, Japan. # Copyright (C) 2003-2006 University of Antwerp, Belgium. # # See the file AUTHORS for deta...
dedaec047919b608a34801007154ce517b459c5dd14a2d64ea5ddfb9f828402b
C++
8,985
210
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
99d7a54ebb2d232746f96257079e4a4889afd8abf7e58c7ea092bcb7c3968cbd
C++
8,991
372
/* * Copyright (C) 2010 Regents of the University of Michigan * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later v...
d38adbbb000218c167e797f4722e52efed0a3e809d5584ac5efca9694ac40fdf
C++
9,032
330
/**************************************************************************** ** ** Copyright (c) 2009-2015 C.B. Barber. All rights reserved. ** $Id: //main/2015/qhull/src/qhulltest/QhullLinkedList_test.cpp#3 $$Change: 2062 $ ** $DateTime: 2016/01/17 13:13:18 $$Author: bbarber $ ** *************************************...
dbd581ff17888dcc14dc33594fe2bab43bcfce47ef72c24732bd65d498b29503
C++
9,055
248
#include "Design/Value.h" #include <stdexcept> namespace rayx { DesignMap DesignMap::clone() const { DesignMap copy; // If the variant holds a Map, we recursively clone each entry. if (std::holds_alternative<Map>(m_variant)) { Map newMap; const Map& oldMap = std::get<Map>(m_variant); ...
bb8713b07cc07e566344947ea051b5d4b713f9bb79459fcf65cba1363969c878
C++
9,059
248
#include "distpatch.hpp" #include <Omega_h_for.hpp> #include <sstream> #include <vector> #include "geom/dist/distcomp.hpp" #include "geom/dist/distmesh.hpp" #include "util/error.hpp" #include "util/mpitools.hpp" #include "util/vocabulary.hpp" namespace steps::dist { DistPatch::DistPatch(const mesh::patch_name& patc...
5166bd5ba9c4ba314d2336b247b25641f7f980ba20735da9c93ee68e8ae58c6e
C++
9,092
201
#include "LineDensity.h" #include "Element/Behaviour.h" #include "ImageType.h" #include "Throw.h" namespace rayx { /** Computes the adjusted line density at a specific z-coordinate for variable line spacing (VLS) gratings, * considering both the surface orientation and polynomial VLS parameters. * * @param lineDe...
56b4cde0c1a57385e12c6289d2ee4e553bd71937dc42480336ce6aeac5e5c595
C++
9,154
372
/* Copyright (c) 2008-2026 the MRtrix3 contributors. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Covered Software is provided under this License on an "a...
6021dde6b2cfd951a61b05a30b2cb7fb847b5b94662f4ceeb7be6d4187e8df32
C++
9,164
326
// This file is part of meshoptimizer library; see meshoptimizer.h for version/license details #include "meshoptimizer.h" #include <assert.h> #include <limits.h> #include <string.h> // This work is based on: // Francine Evans, Steven Skiena and Amitabh Varshney. Optimizing Triangle Strips for Fast Rendering. 1996 // ...