sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
5a24f5087e665b30516f83c2e09a58ed01dab867895a6cefc2f1c833d12482d3
C/C++
21,098
594
/* * arm/crc32_impl.h - ARM implementations of the gzip CRC-32 algorithm * * Copyright 2022 Eric Biggers * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, inclu...
358d00921bef09e7fa41b403eb306234fa833cd4e480ed7b4327747aebb0b2e5
C/C++
21,340
475
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
beb5db01a6c99f8475dcb5ae86700a03befcfe2db3715d6b4d35801b9464cbb0
C/C++
21,358
524
/* Easel's foundation. * * Core functionality of easel: errors, memory allocations, constants, * and configuration for portability. * * Contents: * 1. Macros implementing Easel error handling conventions * 2. Macros implementing Easel memory allocation conventions * 3. Macros implementing Easel function ...
c616b9e5df037b4ce58dbd9c77b5c424fd6cd297e13849890230ef7f94f9ddff
C/C++
21,380
527
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
fe0dfdb4dadf413fcac6d011f678e644127f2361fbf46181bafb4f6c4265814c
C/C++
21,442
735
/* * common_defs.h * * Copyright 2016 Eric Biggers * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, mo...
8c5b9bb8280e379a326ddee93be815206a95a5e0b73e815b9ac294ba9306b177
C/C++
21,557
563
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2010-2013 Hauke Heibel <hauke.heibel@gmail.com> // // This Source Code Form is ...
4685f86b4035627d81c802627d8148ac17861ede15d2af741f06c66022a4c4d0
C/C++
21,861
375
/* * crc32_multipliers.h - constants for CRC-32 folding * * THIS FILE WAS GENERATED BY gen-crc32-consts.py. DO NOT EDIT. */ #define CRC32_X159_MODG 0xae689191 /* x^159 mod G(x) */ #define CRC32_X95_MODG 0xccaa009e /* x^95 mod G(x) */ #define CRC32_X287_MODG 0xf1da05aa /* x^287 mod G(x) */ #define CRC32_X223_MODG...
c7c0bdad75c452a16729f1f6b53b61d486959e27222eb93c3a5e481a101f4b36
C/C++
21,877
434
/* SSE optimized implementation of various MSV, Viterbi, and Forward * routines: structures, declarations, and macros. * * SRE, Sun Nov 25 11:23:02 2007 */ #ifndef P7_IMPL_SSE_INCLUDED #define P7_IMPL_SSE_INCLUDED #include "p7_config.h" #include "esl_alphabet.h" #include "esl_random.h" #include <xmmintrin.h> ...
78cc9cb142f1f665ebdbe37a7c8ddeb97352fc24716486caa412a266fd9364ae
C/C++
21,904
446
/****************************************************************************** SparkFunSX1509.h SparkFun SX1509 I/O Expander Library Header File Jim Lindblom @ SparkFun Electronics Original Creation Date: September 21, 2015 https://github.com/sparkfun/SparkFun_SX1509_Arduino_Library Here you'll find the Arduino code ...
0f72d6924e74725ab2c667f81d812350e19d231822975668048161eac62bd2ac
C/C++
22,124
418
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
f6bec01afe42f74fe37bdfd526f67ace7bdc33b58f991fc1ee30315baacbd972
C/C++
22,377
647
// Copyright (C) 2016 Yixuan Qiu <yixuan.qiu@cos.name> // // 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/. #ifndef GEN_EIGS_SOLVER_H #define GEN_EIGS_SOLVER_H #includ...
affceb4a651d1bfea82145b2906f340cebb92dd07283277e25a29064ea18976c
C/C++
22,482
656
#ifndef US_EDIT_H #define US_EDIT_H #include <QApplication> #include <QDomDocument> #include <QTimer> #include "us_extern.h" #include "us_widgets.h" #include "us_help.h" #include "us_plot.h" #include "us_dataIO.h" #include "us_db2.h" #include "us_mwl_data.h" #include "qwt_plot_marker.h" //#include "us_license_t.h" //...
4651cd289e4bd1a10383c3c93fbb0c9a93611703df62cfdbf67587dd9cc9142b
C/C++
22,875
886
/* * Copyright 1984-2018 The MathWorks, Inc. */ #if defined(_MSC_VER) # pragma once #endif #if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ > 3)) # pragma once #endif #ifndef tmwtypes_h #define tmwtypes_h #ifndef __TMWTYPES__ #define __TMWTYPES__ /* * File : tmwtypes.h * Abstract: *...
3aaa741e8895a93c71834d8b20a11f0a0f1df28251090907fb7a62636d92ba60
C/C++
23,032
512
//! \file us_esigner_gmp.h //! \brief Contains the declaration of the US_eSignaturesGMP class and its members. #ifndef US_ESIGNER_GMP_H #define US_ESIGNER_GMP_H #include <QPrinter> #include <QProgressDialog> #include "us_widgets.h" #include "us_db2.h" #include "us_passwd.h" #include "us_run_protocol.h" #include "us_...
84b3ddf679654b477d263c5cc4d25c6caa8927af1633aa422256e1b406bad488
C/C++
23,138
678
// Copyright (C) 2016 Yixuan Qiu <yixuan.qiu@cos.name> // // 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/. #ifndef SYM_EIGS_SOLVER_H #define SYM_EIGS_SOLVER_H #includ...
436baff7148f3e12f1d7fddaacaa0cc5841f2d476e799a6e33c1e4c29b23ee4c
C/C++
23,232
504
/******************************************************************************* * Copyright (c) 2008-2017 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Materials w...
e303c6c828001234139b745ddfcc10de0e748cc77c59bacaeffa4697f9874592
C/C++
23,333
475
#ifndef US_MODELBUILDER_H #define US_MODELBUILDER_H //#include <QtGui> #include <QApplication> #include <QDomDocument> #include <QVector> #include <QFile> #include <QFileInfo> #include <QTextStream> #include <QPair> #include <QTime> #if QT_VERSION > 0x050000 #include <QtConcurrent/QtConcurrent> #else #include <qtconcu...
1b95f61520fa256202dfa6f17e3983f1d29a54e4b30ead22d12dbe750e4b7f16
C/C++
24,131
505
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
8d89500d1255bf600b261688eccfeb0b1fb00ea4f7a9011c62f48d8dc653caba
C/C++
24,333
651
#ifndef US_HYDRODYN_DAD_SVD_H #define US_HYDRODYN_DAD_SVD_H // QT defs: #include "../include/us_hydrodyn.h" #include "../include/us_hydrodyn_saxs.h" #include "../include/us_efa.h" #include "us_plot_util.h" //Added by qt3to4: #include <QCloseEvent> #include <QFrame> #include <QLabel> #include <qwt_counter.h> using n...
c38c0d7a4e83f1e4f4e112fef45ce1317efaaa395a614d7530e36689498b0f1e
C/C++
24,348
651
#ifndef US_HYDRODYN_MALS_SVD_H #define US_HYDRODYN_MALS_SVD_H // QT defs: #include "../include/us_hydrodyn.h" #include "../include/us_hydrodyn_saxs.h" #include "../include/us_efa.h" #include "us_plot_util.h" //Added by qt3to4: #include <QCloseEvent> #include <QFrame> #include <QLabel> #include <qwt_counter.h> using...
b0f3c42071dd5070033f409a38e646a2928030738305e4512c1f87644df4716f
C/C++
24,383
651
#ifndef US_HYDRODYN_SAXS_HPLC_SVD_H #define US_HYDRODYN_SAXS_HPLC_SVD_H // QT defs: #include "../include/us_hydrodyn.h" #include "../include/us_hydrodyn_saxs.h" #include "../include/us_efa.h" #include "us_plot_util.h" //Added by qt3to4: #include <QCloseEvent> #include <QFrame> #include <QLabel> #include <qwt_counter...
3523e5598c77a135a776b15f40b2294cd8edc7dbae0934c65c3761cad54bc97d
C/C++
24,423
651
#ifndef US_HYDRODYN_MALS_SAXS_SVD_H #define US_HYDRODYN_MALS_SAXS_SVD_H // QT defs: #include "../include/us_hydrodyn.h" #include "../include/us_hydrodyn_saxs.h" #include "../include/us_efa.h" #include "us_plot_util.h" //Added by qt3to4: #include <QCloseEvent> #include <QFrame> #include <QLabel> #include <qwt_counter...
e15ff33d0d013aee3358aa0b0933de16f467a2dc9ac98f1d0e2be553cfd595c5
C/C++
24,660
496
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
ade3034c1d5c840cb31bd9738a015be804862a8dfce03c14ac2f5b3a826792b8
C/C++
25,048
777
/* * decompress_template.h * * Copyright 2016 Eric Biggers * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * ...
35bb92644534960a6d7a600c7b3653f80bfaa269afdbe006db1b6c78cfcab6f6
C/C++
25,374
716
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 c...
1d1d1c149b7da09f37a84a6bedbedbea5d911119a479d9b5cb8884ad82bdc60b
C/C++
26,077
578
//! \file us_mpi_analysis.h #ifndef US_MPI_ANALYSIS_H #define US_MPI_ANALYSIS_H #include <QtCore> #include <QtNetwork> #include <mpi.h> #include "us_model.h" #include "us_dmga_constr.h" #include "us_pcsa_modelrec.h" #include "us_dataIO.h" #include "us_noise.h" #include "us_simparms.h" #include "us_solve_sim.h" #inclu...
433a0a4d0fd3519bdb813cb6bfea196a7297caec66ef8d369b26c30cfd510498
C/C++
26,519
737
/* COPYRIGHT 2015 - PROPERTY OF TOBII AB ------------------------------------- 2015 TOBII AB - KARLSROVAGEN 2D, DANDERYD 182 53, SWEDEN - All Rights Reserved. NOTICE: All information contained herein is, and remains, the property of Tobii AB and its suppliers, if any. The intellectual and technical concepts contain...
bcc8d31f3eb8325e016956c81f052e50468af6fd071e0ba172ba043f19f3bcb5
C/C++
27,082
601
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2007-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
4f2146420390989df68631a8450d67351811557333079d5525a7b7e9887aa056
C/C++
27,369
849
/* COPYRIGHT 2015 - PROPERTY OF TOBII AB ------------------------------------- 2015 TOBII AB - KARLSROVAGEN 2D, DANDERYD 182 53, SWEDEN - All Rights Reserved. NOTICE: All information contained herein is, and remains, the property of Tobii AB and its suppliers, if any. The intellectual and technical concepts contain...
b4dde41c712341386da0edab8e3b14ef7fd26499bb229d4a5d2dce619b32281f
C/C++
27,601
703
//! \file us_grid_editor.h #ifndef US_GRID_EDITOR_H #define US_GRID_EDITOR_H #include "us_extern.h" #include "us_help.h" #include "us_widgets.h" #include "us_widgets_dialog.h" #include "us_buffer_gui.h" #include "us_model.h" #include "us_util.h" #include "us_investigator.h" #include "us_model_loader.h" #include "us_pa...
838b72326b64109b91bbde802877a84636d3bf82dd95ed146fc85cb66b957a9f
C/C++
27,645
726
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2010 Konstantinos Margaritis <markos@freevec.org> // Heavily based on Gael's SSE version. // // This Source Code Form is subject to the terms...
2aa0c8590795ab7d2722bdcd1be816d4808b6e7d301b52bd5ed4c5c1c72b996e
C/C++
28,472
587
/* * crc32_tables.h - data tables for CRC-32 computation * * THIS FILE WAS GENERATED BY gen-crc32-consts.py. DO NOT EDIT. */ static const u32 crc32_slice1_table[] MAYBE_UNUSED = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4, 0xe0d5e91e,...
efdc847835ca21b18f0edd7b5d192736e47c1932a4a69269f16a8ad4df1dc6da
C/C++
29,857
984
//! \file us_protocol_dev_gui.h //! \brief This file contains the declaration of the classes for the US Protocol Development GUI. #ifndef US_PROTODEV_H #define US_PROTODEV_H #include <QApplication> #if !(defined(_WIN32) || defined(_WIN64) || defined(Q_OS_WIN)) #include <unistd.h> #endif #include <fstream> #include <Qt...
c9a0de1a9c437a24bb6c7388e6a97492888bc0a2cb5a6555807389b02606d702
C/C++
30,236
926
#ifndef _EXPR_MOD_ #define _EXPR_MOD_ //add RCPP library to wrapper provided MACRO _EXPR_MOD_RCPP_ #ifdef _EXPR_MOD_RCPP_ #include <Rcpp.h> #else //#include "randomgen.h" #include <gsl/gsl_rng.h> #include <gsl/gsl_randist.h> extern "C" { #include <time.h> #include <stdio.h> } #endif #include <vector> #include <s...
8dd5b9dade4dd533fa6dddf25647c0bcd0c749eb2a40942d0f379bc9e6f54aad
C/C++
30,246
590
#ifndef US_PM_H #define US_PM_H #if defined( USE_MPI ) # include <mpi.h> extern int npes; extern int myrank; #endif #include <iostream> #include <math.h> #include <qstring.h> #include <qfile.h> //#include <q3textstream.h> #include <algorithm> #include <iterator> #include <set> #include <list> #include <vector>...
3eb4263087ad64412a8d86f051c16815c4b77d488db634c6bce5c051d15cc748
C/C++
30,537
750
/******************************************************************************* * Copyright (c) 2008-2015 The Khronos Group Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and/or associated documentation files (the * "Materials"), to deal in the Materials w...
2d90fbe322719cba3578a5c3870ec68613c03261fa61e3508324d1adf952ed88
C/C++
32,278
945
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2016 Konstantinos Margaritis <markos@freevec.org> // // 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 ...
67dff033c7032ff7ceb7dcc7b2a799f834dcda5daba2a30fbfc904f71806e786
C/C++
32,636
882
// Cooperative multitasking library for Arduino // Copyright (c) 2015, 2016 Anatoli Arkhipenko // // Changelog: // v1.0.0: // 2015-02-24 - Initial release // 2015-02-28 - added delay() and disableOnLastIteration() methods // 2015-03-25 - changed scheduler execute() method for a more precise delay calculati...
fb10520de1b283314d61c314a301f6c922cfc257ca7c9796addea78fc472528d
C/C++
32,643
800
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2009-2010 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2013-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
ddc977198e77c16c31b2778962ada3ccdba7893665d2a933e48ec1026bb10ce2
C/C++
33,654
869
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2010 Jitse Niesen <jitse@maths.leeds.ac.uk> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If a...
5cd24da5990f2cfe43527c95574d117f1820c5f38adf2c50726993dabd35f64d
C/C++
33,912
773
// Licence at LICENSES/KLIB_LICENSE /* An example: #include "khash.h" KHASH_MAP_INIT_INT(32, char) int main() { int ret, is_missing; khiter_t k; khash_t(32) *h = kh_init(32); k = kh_put(32, h, 5, &ret); if (!ret) kh_del(32, h, k); kh_value(h, k) = 10; k = kh_g...
5244a5536b377252a8992c7931e34bb9d794e2f54f8c170f15da322b34d2ea8f
C/C++
34,196
821
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0. If ...
3fe6d39020c09f07063d53d221e7a7e1f2d33db9a75e110e440c00263c933b08
C/C++
34,736
689
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
060b9ad81c4f9cccea833404951346ed9801a0917f3e9ac356fb59c51d28d24c
C/C++
36,317
992
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2015 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
30ed672fa906b6249ff0c580b2889337a2ebf6e04d88fb57ff824135a400b274
C/C++
37,067
1,033
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2016 Konstantinos Margaritis <markos@freevec.org> // // 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...
ffa6345ab270f590cf649eefdf5bfa3e85e8f52d8fba2b94172068244afedaa0
C/C++
37,428
918
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2011-2012 Jitse Niesen <jitse@maths.leeds.ac.uk> // // This Source Code Form is...
506049dad5475d855e1a0ab853df653850cdbe21b93e948e61e7b6df3225cb02
C/C++
39,310
915
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
2aa66ea2c5958f6eb74d81629c7ae1d39850e12eac59a175e8cfe944c36b92ee
C/C++
39,557
977
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2015 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2008-2009 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2009 Kenneth Riddile <kfriddile@yahoo.com> // Copyright (C) 2010 Hauke Hei...
29c548f94bfd07dcd8331b3bfeda429fbcd5672b08e4d4fea76f650862b5cc9c
C/C++
41,099
904
/* zlib.h -- interface of the 'zlib' general purpose compression library version 1.1.4, March 11th, 2002 Copyright (C) 1995-2002 Jean-loup Gailly and Mark Adler This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising fr...
3df4ac562c6ac0862e83311027787b5b55a785bf66bbf4797ba77b411986cc34
C/C++
42,815
999
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
8a747451b6ee5de13e8dd6754bc98bb42b26343078a15f3333be9d097858e876
C/C++
42,913
1,230
#ifndef US_HYDRODYN_SAXS_H #define US_HYDRODYN_SAXS_H // QT defs: #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qwt_counter.h> #include <qgroupbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qradiobutton...
ee042bb9226f33c52f7a2b1206a74cd2e29656e3a72c5e7d1a2865f09df5f930
C/C++
44,479
792
//! \file us_reporter_gmp.h #ifndef US_REPORTER_GMP_H #define US_REPORTER_GMP_H #include <QPrinter> #include "../us_abde/us_norm_profile.h" #include "../us_analysis_profile/us_analysis_profile.h" #include "../us_ddist_combine/us_ddist_combine.h" #include "../us_fematch/us_fematch.h" #include "../us_integral/us_integr...
679ad1163774e35e475a2a96198d9c30c60477c15f6d66b425c12b2412cd69ff
C/C++
44,580
1,504
#ifndef US_MULTI_COLUMN_H #define US_MULTI_COLUMN_H #include "us_saxs_util.h" # include "qdebug.h" #include "us_vector.h" //Added by qt3to4: #include <QTextStream> #ifdef WIN32 #endif class umc_sortable_double { // sorts the vector in column order public: double d; unsigned int index; bool operat...
ba8ec01903eb634f5c8e82cb372c934e11a7d8492d5eb1f824c0c2c9a04b0e44
C/C++
44,755
1,023
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2009 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
c2fee04feab004f45a590a8f38beff7fcc57d9169ca617b7a92dd11449481258
C/C++
48,594
1,408
#ifndef US_ZENO_CXX_NF_H #define US_ZENO_CXX_NF_H // *** START *** /root/zeno/nanoflann-master/include/nanoflann.hpp *** /*********************************************************************** * Software License Agreement (BSD License) * * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. ...
8c3980b26ca43386d4b5ab34421792a8321064ad9527ad1a7f3903451c211b0a
C/C++
49,109
1,267
//! \file us_experiment/us_experiment_gui_optima.h #ifndef US_EXPERIMENT_H #define US_EXPERIMENT_H #include <QApplication> #include <functional> #if !(defined(_WIN32) || defined(_WIN64) || defined(Q_OS_WIN)) #include <unistd.h> #endif #include <fstream> #include <QtSql> #include <QSslSocket> #include "../us_analysis...
46f9dc906e83fbd2ce5ff84d17254d1f4f1369816543be44f0e3a949992d6424
C/C++
52,329
1,403
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2008-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // // 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 c...
a693d0137d1e8ecabd9f2402424c378442b52778723299f9c2fc9fe380187fad
C/C++
54,052
1,091
//! \file us_autoflow_analysis.h #ifndef US_ANALYSIS_AUTO_H #define US_ANALYSIS_AUTO_H #include "../us_analysis_profile/us_analysis_profile.h" #include "../us_fematch/us_fematch.h" #include "../us_fit_meniscus/us_fit_meniscus.h" #include "../us_mwl_species_fit/us_load_run_noise.h" #include "../us_mwl_species_fit/us_mw...
a0f85f97bbde3dbec41e0619be89edb1590b2ed1f2174a03a46e815d943dc96f
C/C++
56,370
1,656
/* COPYRIGHT 2015 - PROPERTY OF TOBII AB ------------------------------------- 2015 TOBII AB - KARLSROVAGEN 2D, DANDERYD 182 53, SWEDEN - All Rights Reserved. NOTICE: All information contained herein is, and remains, the property of Tobii AB and its suppliers, if any. The intellectual and technical concepts contain...
a6abfc8047981b357dbab250e571137d7f81e72d63573ae0a550abe15589dfd3
C/C++
61,519
1,673
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2011 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2011-2014 Gael Guennebaud <gael.guennebaud@inria.fr> // Copyright (C) 2011-2012 Jitse Niesen <jitse@maths.leeds.ac.uk> // // This Source Code Form is...
d1e86bd1ac4e1c7f4b5f1f26d20e696d3f990c51e126790ec463666caf28ee82
C/C++
66,606
1,505
#ifndef US_HYDRODYN_H #define US_HYDRODYN_H // QT defs: #include <qfile.h> #include <qfiledialog.h> //#include <q3textstream.h> #include <qpushbutton.h> #include <qgroupbox.h> #include <qlineedit.h> #include <qlabel.h> #include <qstring.h> #include <qlayout.h> //#include <q3frame.h> #include <qprogressbar.h> #include...
61815f8653886a3f26d56c27b418c8fb98432ccdae3094ade8c37751e0966b71
C/C++
68,460
1,994
/////////////////////////////////////////////////////////////////////////////// // // // This file is part of ModelBlocks. Copyright 2009, ModelBlocks developers. // // // ...
ffa2b02a5796902c3e53f2136b645534b63b8b9a509553ea946ac25756d6773c
C/C++
72,091
1,868
#ifndef US_HYDRODYN_MALS_H #define US_HYDRODYN_MALS_H // QT defs: #include <qsplitter.h> #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qmenubar.h> #include <qfileinfo.h> #i...
f1d717f09b3ed2265db1d0f9d99b9cd92310459a9a4d5f93c768af4883fa1e32
C/C++
78,082
2,463
/* COPYRIGHT 2015 - PROPERTY OF TOBII AB ------------------------------------- 2015 TOBII AB - KARLSROVAGEN 2D, DANDERYD 182 53, SWEDEN - All Rights Reserved. NOTICE: All information contained herein is, and remains, the property of Tobii AB and its suppliers, if any. The intellectual and technical concepts contain...
72d39500b68527add000f31dc785d8f3c7f6c04020063263c1acebe0f055b6b8
C/C++
81,041
2,054
#ifndef US_HYDRODYN_MALS_SAXS_H #define US_HYDRODYN_MALS_SAXS_H // QT defs: #include <qsplitter.h> #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qmenubar.h> #include <qfile...
4ffb877b839b4023964df1cdc0acde3bd7a4ad77f3e36ed8610f4c1404c5e1d2
C/C++
82,546
2,062
#ifndef US_HYDRODYN_SAXS_HPLC_H #define US_HYDRODYN_SAXS_HPLC_H // QT defs: #include <qsplitter.h> #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qmenubar.h> #include <qfile...
9cc21847d43b92de0ba9ce69191d426d48800c2c49ca979ef91c3ef6c5f518ca
C/C++
83,547
4,617
/* * * Template Numerical Toolkit (TNT): Linear Algebra Module * * Mathematical and Computational Sciences Division * National Institute of Technology, * Gaithersburg, MD USA * * * This software was developed at the National Institute of Standards and * Technology (NIST) by employees of the Federal Government in the co...
cf09c70c69730446fd631360ccea00a4a18af26c58337801d9a60fd397a1f5a2
C/C++
84,926
2,761
///------------------------------------------------------------------------ // okFrontPanel.h // // This is the header file for C/C++ compilation of the FrontPanel DLL // import library. This file must be included within any C/C++ source // which references the FrontPanel DLL methods. // //----------------------------...
a99c18d054be798d681a0df2e0e752ef4ad48ee30960e9420b4fe1a1704260ed
C/C++
87,054
2,186
#ifndef US_HYDRODYN_DAD_H #define US_HYDRODYN_DAD_H // QT defs: #include <qsplitter.h> #include <qlabel.h> #include <qstring.h> #include <qlayout.h> #include <qpushbutton.h> //#include <q3frame.h> #include <qcheckbox.h> #include <qtextedit.h> #include <qprogressbar.h> #include <qmenubar.h> #include <qfileinfo.h> #inc...
0e8fc7f5baf1ce8ad284507d83758fd498cd1319a2a3319dd5b4063473c39325
C/C++
89,997
1,815
/* The all-encompassing include file for HMMER. * All-encompassing because there's a lot of crossdependency. * There's some opportunity for modularity, but not a lot. * * 1. P7_HMM: a core model. * 2. P7_PROFILE: a scoring profile, and its implicit model. * 3. P7_BG: a null (backgrou...
93b7b1ca664b0b3fd36508cdc20d44a15c3d9ff6f3e76f9e691b6044b74b923c
C/C++
93,844
1,998
#ifndef US_SAXS_UTIL_H #define US_SAXS_UTIL_H #if defined( USE_MPI ) # include <mpi.h> extern int npes; extern int myrank; #endif // QT defs: #include <QtCore> #include <QtWidgets> #include <math.h> #include <time.h> #include <map> #include <set> #include "us_util.h" #include "us_math.h" #include "us_tar.h" #...
1c76b729f91bc944a9fbcf50716cb0bc481bec65fed9fa32af2a94af6af9f1d9
C/C++
200,000
7,416
#ifndef US_ZENO_CXX_H #define US_ZENO_CXX_H // *** START *** /root/zeno/nanoflann-master/include/nanoflann.hpp *** /*********************************************************************** * Software License Agreement (BSD License) * * Copyright 2008-2009 Marius Muja (mariusm@cs.ubc.ca). All rights reserved. * Copy...
4ee4920fca3a363099b07be7d5ae07663db33e6b73d64c55e9e917b0d4a8d3db
C/C++
200,000
16,250
// tables for sphbes static int shd_max_harmonics = 75; static int shd_x_size = 10000; static shd_double shd_max_x = 999.9; static shd_double shbes_x[ 10000 ] = { 0, 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1, 1.1, 1.2, 1.3, 1.4, 1.5, ...
52f4a3c26369f93da4f4919082b6d11770632d8b9967031e2e2f7a03831c5874
C/C++
200,000
7,991
// -- start: fem.hpp ---------------------- #ifndef FEM_HPP #define FEM_HPP // -- start: fem/do.hpp ---------------------- #ifndef FEM_DO_HPP #define FEM_DO_HPP #define FEM_DO(i, f, l) for(i=f; i<=l; i++) namespace fem { class do_safe { int* i_; int l_; public: do_safe(in...
b7c20a42114115740eb16ab36297a5c024d1173bf11a062ecf631faaa7d548ae
C/C++
200,000
5,469
#ifdef WIN32 # define MSCPLAT # include <sys/timeb.h> #else # define AN6PLAT # include <sys/time.h> #endif #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <time.h> #include <math.h> #include <string.h> // #define txtfile FILE* /* The type of a text file */ // #define binfile ...
4c663f5d979135009303b30ebe26c6861667e72df40b842bf049fed73aa974c2
CUDA
16,300
514
#include <torch/extension.h> #include <cuda.h> #include <cuda_runtime.h> #include <vector> namespace { #define TRANSFORM_EPS 1e-6 #define DEGREE2RAD 0.01745329251F #define RAD2DEGREE 57.2957795131F template <typename scalar_t> __global__ void axisangle2mat_forward_cuda_kernel( scalar_t* __restrict__ mat, // n...
6f7716fc9d7f86f83d6b97f1cc7187b0eedb3705802c8f17fd34e0e809119b71
CUDA
54,232
1,134
#include <torch/extension.h> #include <cuda.h> #include <cuda_runtime.h> #include <vector> namespace { /* template <typename scalar_t> __device__ __forceinline__ scalar_t psf_func(const scalar_t x, const scalar_t y, const scalar_t z) { return expf(-0.5 * (x*x)/(1.2*1.2)) * expf(-0.5 * (y*y)/(1.2*1.2)) * expf(-0...
d777906980f0308be4f769ffcea2169bba12d4bbe302a10cb267fe7e593cb292
Fortran
378
14
MODULE PARAMETERS IMPLICIT NONE INTEGER :: p_sim_int(10) REAL*8 :: dt,dpi,p_plast(40),p_syn(10),p_ne(20),p_con(20),p_inp(20),p_sim(40) CHARACTER*6 :: folder END MODULE MODULE VARIABLES IMPLICIT NONE REAL*8 :: tr,x(30),msynw REAL*8 :: ypre,ypost,ypost2,spkt,spkt_post2,spkt_pre,spkt_post,spkt_post3 L...
250f698f5e6309280d2d5b277081527eda8a13de8a293de0645b4ef2953d3c2f
Fortran
442
15
MODULE PARAMETERS IMPLICIT NONE INTEGER :: pi(100),ne_input,ni_input,total_time,p_sim_int(10) REAL*8 :: p_ne(100),p_syn(100),p_plast(100),p_sim(10),p_con(20),dt,dpi CHARACTER*6 :: folder END MODULE MODULE VARIABLES IMPLICIT NONE REAL*8 :: msynw,spkt REAL*8 :: ypre,ypost,spkt_post2,spkt_pre,ypost2 R...
a3c0b3070ec49f8f79ff44b794e181fc56192d4f031f8978c6eeaa38f3a509b7
Fortran
721
23
MODULE PARAMETERS IMPLICIT NONE INTEGER :: pi(100),ne_input,ni_input,ne_pw,ni_pw,n_pw,n_branch,ne_unc,ni_unc,ne_unci,ni_unci,ne_corr,ni_corr REAL*8 :: pr(300),p_plast(50),dt,dpi,gc_a,dist CHARACTER*6 :: folder END MODULE MODULE VARIABLES IMPLICIT NONE REAL*8,ALLOCATABLE :: msynw(:),spkt(:),y(:,:),z(:,:) ...
4ca3d4d4fc1b9e568ccd56d120b067cc81fd85a453f5823b4d937ffe2d11302d
Fortran
744
18
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! ALLOCATION OF ARRAY SIZES !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE allocation() USE PARAMETERS ...
52fdec9d21e96dc148ff742d0a5154898b427ffd5badc6e0a83fbab4e79a92bb
Fortran
766
17
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! ALLOCATION OF ARRAY SIZES !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE allocation() USE IFPORT USE...
50942219c10219a8a366430be5df6e84d76ba38be5cda0afaf004a4607068aef
Fortran
834
19
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! ALLOCATION OF ARRAY SIZES !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE allocation() USE PARAMETERS ...
adee67456ebe3a9598122971039523c18a8650212848eed4c932d8aabb68abb9
Fortran
844
19
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! DECLARATION OF SHARED VARIABLES (PARAMETERS, VARIABLES, TEMP) !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! MODULE PARAMETERS IMPLICIT NONE INTEGE...
247d6bbc0aca4cbf2b9644cdbe027e27df985ff0b62fcfae5a6d2799decaf71d
Fortran
851
19
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! ALLOCATION OF ARRAY SIZES !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE allocation() USE IFPORT USE...
2ffbc791ebf5c41ad7741e2b900a62371f06630e0da3620e4b43712aeb8fee26
Fortran
886
24
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! DECLARATION OF SHARED VARIABLES (PARAMETERS, VARIABLES, TEMP) !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! MODULE PARAMETERS IMPLICIT NONE INTEGE...
bef29818cf9544a0bbe2912d3c0667f895571a2720e89854aa6d3aebd5a1a6df
Fortran
976
27
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! DECLARATION OF SHARED VARIABLES (PARAMETERS, VARIABLES, TEMP) !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! MODULE PARAMETERS IMPLICIT NONE INTEGE...
b156d48b75da6825f3e994d5caacb06739ee63bd08285f61135f66abc67647f1
Fortran
1,324
29
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE PAR...
bb4582a907f7bd7a80984725eb404b64c6afd4858fdc7b8592c59d04a95e1f02
Fortran
1,348
26
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! POST-BEFORE-PRE SPIKING PROTOCOL !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE input_pre_post(t) USE IFPORT...
d17dda4622c3d54413255ad07146f3b4a8712d301cc0917b2d851522575c9d46
Fortran
1,382
30
SUBROUTINE input(t,t0,jj,time_dt) USE IFPORT USE PARAMETERS USE VARIABLES INTEGER :: pre_spk,post_spk,t,t0,jj,time_dt !-------------------------- resetting presynaptic spikes variables ------------------------! spk = .FALSE. !---------------------------------------------------------------------------------------...
b0ae86e7d4946cc6df917bdc2d9ac520f658359d5d7b6681d4a70d5163fc86e5
Fortran
1,543
31
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE IFP...
00a8b08874609272872550fc58fc77fc9300c62dd07c0b6ae4c7a794d2bc8638
Fortran
1,554
35
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE PAR...
222493902312e985a61d067892cf8cffb90a7a21565b58e116b41cd362e3a3a5
Fortran
1,644
36
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE PAR...
7f9f30ed913c3f367052989ea1967133d1caacd2fc965314b31f711da89ed82a
Fortran
1,893
36
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE IFP...
980a6027f0fd46902e4e6b0cd884a4f85f7184cc55c8cb126494c42bf95954bd
Fortran
1,989
47
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! SIMULATION WITHOUT PLASTICITY FOR INITIALISATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE simulation(tot_time_r) USE V...
3444381165c0965c4af7367260423d3a96deb61149b0a2749f95bf9b98908d04
Fortran
2,157
46
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! FILE WITH INITAL CONDITIONS FOR SIMULATION !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE initial_conditions() USE PAR...
48abf4e17a92a6c54b7006dab3d66d976af0ca7d322dd665312a376ba23b51e8
Fortran
2,218
40
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! SIMULATION OF THE PROTOCOL !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE simulation_voltage_stdp() US...
8897f85de2dbc8c3ce9026c9de5990a75d38f5a1a5d4b4888a3b4df912c9ca84
Fortran
2,232
36
SUBROUTINE plasticity_e() USE IFPORT USE VARIABLES USE PARAMETERS IMPLICIT NONE !=========================== updates when pre neuron spikes ===============================! IF(spk) THEN ypost = ypost*EXP((spkt_post2-tr)/p_plast(12)) !update post trace for LTP spkt_post2 = tr !update last time tr...
94885389a2e512771e0ec08d6100264ba822f345386acd07896564198f0e9cf7
Fortran
2,247
49
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE simulation_post_before_pre() USE PARAMETERS USE VARIABLES USE IFPORT INTEGER :: t !=========================== LOOP FOR STEADY-STATE OF VARIABLES ===========================! DO t = 1,1000 tr = tr + dt !increase si...
054b9dc579be0d654d900a1aca899db3c21d9da1b509bfd13870fec5ded164e0
Fortran
2,585
41
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!! IMPLEMENTATION OF CODEPENDENT INHIBITORY PLASTICITY !!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! SUBROUTINE plasticity_i() USE VARIABLES...