keyword stringclasses 7
values | repo_name stringlengths 8 98 | file_path stringlengths 4 244 | file_extension stringclasses 29
values | file_size int64 0 84.1M | line_count int64 0 1.6M | content stringlengths 1 84.1M ⌀ | language stringclasses 14
values |
|---|---|---|---|---|---|---|---|
3D | mcellteam/mcell | libs/glm/ext/vector_uint2.hpp | .hpp | 435 | 19 | /// @ref core
/// @file glm/ext/vector_uint2.hpp
#pragma once
#include "../detail/type_vec2.hpp"
namespace glm
{
/// @addtogroup core_vector
/// @{
/// 2 components vector of unsigned integer numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, sec... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/vector_float3_precision.hpp | .hpp | 1,425 | 32 | /// @ref core
/// @file glm/ext/vector_float3_precision.hpp
#pragma once
#include "../detail/type_vec3.hpp"
namespace glm
{
/// @addtogroup core_vector_precision
/// @{
/// 3 components vector of high single-qualifier floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/vector_bool2_precision.hpp | .hpp | 1,371 | 32 | /// @ref core
/// @file glm/ext/vector_bool2_precision.hpp
#pragma once
#include "../detail/type_vec2.hpp"
namespace glm
{
/// @addtogroup core_vector_precision
/// @{
/// 2 components vector of high qualifier bool numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/matrix_double3x2_precision.hpp | .hpp | 1,621 | 32 | /// @ref core
/// @file glm/ext/matrix_double3x2_precision.hpp
#pragma once
#include "../detail/type_mat3x2.hpp"
namespace glm
{
/// @addtogroup core_matrix_precision
/// @{
/// 3 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
///
/// @s... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/quaternion_common.hpp | .hpp | 4,152 | 121 | /// @ref ext_quaternion_common
/// @file glm/ext/quaternion_common.hpp
///
/// @defgroup ext_quaternion_common GLM_EXT_quaternion_common
/// @ingroup ext
///
/// Provides common functions for quaternion types
///
/// Include <glm/ext/quaternion_common.hpp> to use the features of this extension.
///
/// @see ext_scalar_... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/matrix_float4x2_precision.hpp | .hpp | 1,613 | 32 | /// @ref core
/// @file glm/ext/matrix_float2x2_precision.hpp
#pragma once
#include "../detail/type_mat2x2.hpp"
namespace glm
{
/// @addtogroup core_matrix_precision
/// @{
/// 4 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
///
/// @se... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/vector_relational.hpp | .hpp | 4,561 | 105 | /// @ref ext_vector_relational
/// @file glm/ext/vector_relational.hpp
///
/// @defgroup ext_vector_relational GLM_EXT_vector_relational
/// @ingroup ext
///
/// Exposes comparison functions for vector types that take a user defined epsilon values.
///
/// Include <glm/ext/vector_relational.hpp> to use the features of ... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/vector_ulp.hpp | .hpp | 3,965 | 110 | /// @ref ext_vector_ulp
/// @file glm/ext/vector_ulp.hpp
///
/// @defgroup ext_vector_ulp GLM_EXT_vector_ulp
/// @ingroup ext
///
/// Allow the measurement of the accuracy of a function against a reference
/// implementation. This extension works on floating-point data and provide results
/// in ULP.
///
/// Include <g... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/quaternion_float_precision.hpp | .hpp | 1,189 | 37 | /// @ref ext_quaternion_float_precision
/// @file glm/ext/quaternion_float_precision.hpp
///
/// @defgroup ext_quaternion_float_precision GLM_EXT_quaternion_float_precision
/// @ingroup ext
///
/// Exposes single-precision floating point quaternion type with various precision in term of ULPs.
///
/// Include <glm/ext/q... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/matrix_float3x2.hpp | .hpp | 460 | 19 | /// @ref core
/// @file glm/ext/matrix_float3x2.hpp
#pragma once
#include "../detail/type_mat3x2.hpp"
namespace glm
{
/// @addtogroup core
/// @{
/// 3 columns of 2 components matrix of single-precision floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL... | Unknown |
3D | mcellteam/mcell | libs/glm/ext/matrix_float4x4.hpp | .hpp | 733 | 24 | /// @ref core
/// @file glm/ext/matrix_float4x4.hpp
#pragma once
#include "../detail/type_mat4x4.hpp"
namespace glm
{
/// @ingroup core_matrix
/// @{
/// 4 columns of 4 components matrix of single-precision floating-point numbers.
///
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/_swizzle.hpp | .hpp | 49,213 | 805 | #pragma once
namespace glm{
namespace detail
{
// Internal class for implementing swizzle operators
template<typename T, int N>
struct _swizzle_base0
{
protected:
GLM_FUNC_QUALIFIER T& elem(size_t i){ return (reinterpret_cast<T*>(_buffer))[i]; }
GLM_FUNC_QUALIFIER T const& elem(size_t i) const{ return (reinte... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/_noise.hpp | .hpp | 2,360 | 82 | #pragma once
#include "../common.hpp"
namespace glm{
namespace detail
{
template<typename T>
GLM_FUNC_QUALIFIER T mod289(T const& x)
{
return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
}
template<typename T>
GLM_FUNC_QUALIFIER T permute(T const& x)
{
return mod28... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat3x3.hpp | .hpp | 6,515 | 185 | /// @ref core
/// @file glm/detail/type_mat3x3.hpp
#pragma once
#include "type_vec3.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<3, 3, T, Q>
{
typedef vec<3, T, Q> col_type;
typedef vec<3, T, Q> row_type;
typedef mat<3, 3, T, Q> type;
typedef mat<3... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_vec4.hpp | .hpp | 23,322 | 505 | /// @ref core
/// @file glm/detail/type_vec4.hpp
#pragma once
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
# include "_swizzle_func.hpp"
#endif
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
s... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/_vectorize.hpp | .hpp | 4,300 | 124 | #pragma once
namespace glm{
namespace detail
{
template<template<length_t L, typename T, qualifier Q> class vec, length_t L, typename R, typename T, qualifier Q>
struct functor1{};
template<template<length_t L, typename T, qualifier Q> class vec, typename R, typename T, qualifier Q>
struct functor1<vec, 1, R, T, ... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat3x4.hpp | .hpp | 5,700 | 167 | /// @ref core
/// @file glm/detail/type_mat3x4.hpp
#pragma once
#include "type_vec3.hpp"
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<3, 4, T, Q>
{
typedef vec<4, T, Q> col_type;
typedef vec<3, T, Q> row_type;
typedef mat<3, 4, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/_fixes.hpp | .hpp | 407 | 28 | #include <cmath>
//! Workaround for compatibility with other libraries
#ifdef max
#undef max
#endif
//! Workaround for compatibility with other libraries
#ifdef min
#undef min
#endif
//! Workaround for Android
#ifdef isnan
#undef isnan
#endif
//! Workaround for Android
#ifdef isinf
#undef isinf
#endif
//! Workarou... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_quat.hpp | .hpp | 5,987 | 191 | /// @ref gtc_quaternion
/// @file glm/gtc/quaternion.hpp
///
/// @see core (dependence)
/// @see gtc_constants (dependence)
///
/// @defgroup gtc_quaternion GLM_GTC_quaternion
/// @ingroup gtc
///
/// Include <glm/gtc/quaternion.hpp> to use the features of this extension.
///
/// Defines a templated quaternion type and... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat2x2.hpp | .hpp | 6,331 | 178 | /// @ref core
/// @file glm/detail/type_mat2x2.hpp
#pragma once
#include "type_vec2.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<2, 2, T, Q>
{
typedef vec<2, T, Q> col_type;
typedef vec<2, T, Q> row_type;
typedef mat<2, 2, T, Q> type;
typedef mat<2... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_half.hpp | .hpp | 270 | 17 | #pragma once
#include "setup.hpp"
namespace glm{
namespace detail
{
typedef short hdata;
GLM_FUNC_DECL float toFloat32(hdata value);
GLM_FUNC_DECL hdata toFloat16(float const& value);
}//namespace detail
}//namespace glm
#include "type_half.inl"
| Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat4x3.hpp | .hpp | 5,982 | 172 | /// @ref core
/// @file glm/detail/type_mat4x3.hpp
#pragma once
#include "type_vec3.hpp"
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<4, 3, T, Q>
{
typedef vec<3, T, Q> col_type;
typedef vec<4, T, Q> row_type;
typedef mat<4, 3, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat4x4.hpp | .hpp | 7,023 | 190 | /// @ref core
/// @file glm/detail/type_mat4x4.hpp
#pragma once
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<4, 4, T, Q>
{
typedef vec<4, T, Q> col_type;
typedef vec<4, T, Q> row_type;
typedef mat<4, 4, T, Q> type;
typedef mat<4... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_vec2.hpp | .hpp | 16,117 | 401 | /// @ref core
/// @file glm/detail/type_vec2.hpp
#pragma once
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
# include "_swizzle_func.hpp"
#endif
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
s... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/qualifier.hpp | .hpp | 5,819 | 211 | #pragma once
#include "setup.hpp"
namespace glm
{
/// Qualify GLM types in term of alignment (packed, aligned) and precision in term of ULPs (lowp, mediump, highp)
enum qualifier
{
packed_highp, ///< Typed data is tightly packed in memory and operations are executed with high precision in term of ULPs
packed_m... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_vec3.hpp | .hpp | 18,115 | 434 | /// @ref core
/// @file glm/detail/type_vec3.hpp
#pragma once
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
# include "_swizzle_func.hpp"
#endif
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
s... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/compute_vector_relational.hpp | .hpp | 630 | 31 | #pragma once
//#include "compute_common.hpp"
#include "setup.hpp"
#include <limits>
namespace glm{
namespace detail
{
template <typename T, bool isFloat>
struct compute_equal
{
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static bool call(T a, T b)
{
return a == b;
}
};
/*
template <typename T>
struct compute_equa... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_vec1.hpp | .hpp | 11,561 | 309 | /// @ref core
/// @file glm/detail/type_vec1.hpp
#pragma once
#include "qualifier.hpp"
#if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
# include "_swizzle.hpp"
#elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
# include "_swizzle_func.hpp"
#endif
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
s... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat2x4.hpp | .hpp | 5,516 | 162 | /// @ref core
/// @file glm/detail/type_mat2x4.hpp
#pragma once
#include "type_vec2.hpp"
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<2, 4, T, Q>
{
typedef vec<4, T, Q> col_type;
typedef vec<2, T, Q> row_type;
typedef mat<2, 4, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_float.hpp | .hpp | 1,642 | 69 | #pragma once
#include "setup.hpp"
#if GLM_COMPILER == GLM_COMPILER_VC12
# pragma warning(push)
# pragma warning(disable: 4512) // assignment operator could not be generated
#endif
namespace glm{
namespace detail
{
template <typename T>
union float_t
{};
// https://randomascii.wordpress.com/2012/02/25/comparing-... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat4x2.hpp | .hpp | 5,676 | 172 | /// @ref core
/// @file glm/detail/type_mat4x2.hpp
#pragma once
#include "type_vec2.hpp"
#include "type_vec4.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<4, 2, T, Q>
{
typedef vec<2, T, Q> col_type;
typedef vec<4, T, Q> row_type;
typedef mat<4, 2, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/compute_common.hpp | .hpp | 1,242 | 51 | #pragma once
#include "setup.hpp"
#include <limits>
namespace glm{
namespace detail
{
template<typename genFIType, bool /*signed*/>
struct compute_abs
{};
template<typename genFIType>
struct compute_abs<genFIType, true>
{
GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genFIType call(genFIType x)
{
GLM_STATIC_A... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat3x2.hpp | .hpp | 5,548 | 168 | /// @ref core
/// @file glm/detail/type_mat3x2.hpp
#pragma once
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<3, 2, T, Q>
{
typedef vec<2, T, Q> col_type;
typedef vec<3, T, Q> row_type;
typedef mat<3, 2, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/setup.hpp | .hpp | 38,997 | 1,066 | #ifndef GLM_SETUP_INCLUDED
#include <cassert>
#include <cstddef>
#define GLM_VERSION_MAJOR 0
#define GLM_VERSION_MINOR 9
#define GLM_VERSION_PATCH 9
#define GLM_VERSION_REVISION 3
#define GLM_VERSION 993
#define GLM_VERSION_MESSAGE "GLM: version 0.9.9.3"
#define GLM_SETUP_INCLUDED GLM_VERSION
///////... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/type_mat2x3.hpp | .hpp | 5,455 | 160 | /// @ref core
/// @file glm/detail/type_mat2x3.hpp
#pragma once
#include "type_vec2.hpp"
#include "type_vec3.hpp"
#include <limits>
#include <cstddef>
namespace glm
{
template<typename T, qualifier Q>
struct mat<2, 3, T, Q>
{
typedef vec<3, T, Q> col_type;
typedef vec<2, T, Q> row_type;
typedef mat<2, 3, T,... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/glm.cpp | .cpp | 8,687 | 262 | /// @ref core
/// @file glm/glm.cpp
#define GLM_ENABLE_EXPERIMENTAL
#include <glm/gtx/dual_quaternion.hpp>
#include <glm/gtc/vec1.hpp>
#include <glm/gtc/quaternion.hpp>
#include <glm/ext/scalar_int_sized.hpp>
#include <glm/ext/scalar_uint_sized.hpp>
#include <glm/glm.hpp>
namespace glm
{
// tvec1 type explicit instan... | C++ |
3D | mcellteam/mcell | libs/glm/detail/_swizzle_func.hpp | .hpp | 35,019 | 683 | #pragma once
#define GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, CONST, A, B) \
vec<2, T, Q> A ## B() CONST \
{ \
return vec<2, T, Q>(this->A, this->B); \
}
#define GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, CONST, A, B, C) \
vec<3, T, Q> A ## B ## C() CONST \
{ \
return vec<3, T, Q>(this... | Unknown |
3D | mcellteam/mcell | libs/glm/detail/_features.hpp | .hpp | 11,770 | 395 | #pragma once
// #define GLM_CXX98_EXCEPTIONS
// #define GLM_CXX98_RTTI
// #define GLM_CXX11_RVALUE_REFERENCES
// Rvalue references - GCC 4.3
// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
// GLM_CXX11_TRAILING_RETURN
// Rvalue references for *this - GCC not supported
// http://www.open-std.org... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/matrix_access.hpp | .hpp | 1,468 | 61 | /// @ref gtc_matrix_access
/// @file glm/gtc/matrix_access.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_matrix_access GLM_GTC_matrix_access
/// @ingroup gtc
///
/// Include <glm/gtc/matrix_access.hpp> to use the features of this extension.
///
/// Defines functions to access rows or columns of a matrix easi... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/quaternion.hpp | .hpp | 5,638 | 174 | /// @ref gtc_quaternion
/// @file glm/gtc/quaternion.hpp
///
/// @see core (dependence)
/// @see gtc_constants (dependence)
///
/// @defgroup gtc_quaternion GLM_GTC_quaternion
/// @ingroup gtc
///
/// Include <glm/gtc/quaternion.hpp> to use the features of this extension.
///
/// Defines a templated quaternion type and... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/type_ptr.hpp | .hpp | 7,056 | 231 | /// @ref gtc_type_ptr
/// @file glm/gtc/type_ptr.hpp
///
/// @see core (dependence)
/// @see gtc_quaternion (dependence)
///
/// @defgroup gtc_type_ptr GLM_GTC_type_ptr
/// @ingroup gtc
///
/// Include <glm/gtc/type_ptr.hpp> to use the features of this extension.
///
/// Handles the interaction between pointers and vec... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/color_space.hpp | .hpp | 2,020 | 57 | /// @ref gtc_color_space
/// @file glm/gtc/color_space.hpp
///
/// @see core (dependence)
/// @see gtc_color_space (dependence)
///
/// @defgroup gtc_color_space GLM_GTC_color_space
/// @ingroup gtc
///
/// Include <glm/gtc/color_space.hpp> to use the features of this extension.
///
/// Allow to perform bit operations ... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/packing.hpp | .hpp | 36,725 | 729 | /// @ref gtc_packing
/// @file glm/gtc/packing.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_packing GLM_GTC_packing
/// @ingroup gtc
///
/// Include <glm/gtc/packing.hpp> to use the features of this extension.
///
/// This extension provides a set of function to convert vertors to packed
/// formats.
#prag... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/reciprocal.hpp | .hpp | 3,550 | 136 | /// @ref gtc_reciprocal
/// @file glm/gtc/reciprocal.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_reciprocal GLM_GTC_reciprocal
/// @ingroup gtc
///
/// Include <glm/gtc/reciprocal.hpp> to use the features of this extension.
///
/// Define secant, cosecant and cotangent functions.
#pragma once
// Dependen... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/type_aligned.hpp | .hpp | 69,298 | 1,316 | /// @ref gtc_type_aligned
/// @file glm/gtc/type_aligned.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_type_aligned GLM_GTC_type_aligned
/// @ingroup gtc
///
/// Include <glm/gtc/type_aligned.hpp> to use the features of this extension.
///
/// Aligned types allowing SIMD optimizations of vectors and matrices... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/noise.hpp | .hpp | 1,553 | 62 | /// @ref gtc_noise
/// @file glm/gtc/noise.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_noise GLM_GTC_noise
/// @ingroup gtc
///
/// Include <glm/gtc/noise.hpp> to use the features of this extension.
///
/// Defines 2D, 3D and 4D procedural noise functions
/// Based on the work of Stefan Gustavson and Ashim... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/integer.hpp | .hpp | 2,110 | 66 | /// @ref gtc_integer
/// @file glm/gtc/integer.hpp
///
/// @see core (dependence)
/// @see gtc_integer (dependence)
///
/// @defgroup gtc_integer GLM_GTC_integer
/// @ingroup gtc
///
/// Include <glm/gtc/integer.hpp> to use the features of this extension.
///
/// @brief Allow to perform bit operations on integer values... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/matrix_integer.hpp | .hpp | 14,989 | 488 | /// @ref gtc_matrix_integer
/// @file glm/gtc/matrix_integer.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_matrix_integer GLM_GTC_matrix_integer
/// @ingroup gtc
///
/// Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.
///
/// Defines a number of matrices with integer types.
#prag... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/matrix_transform.hpp | .hpp | 1,226 | 37 | /// @ref gtc_matrix_transform
/// @file glm/gtc/matrix_transform.hpp
///
/// @see core (dependence)
/// @see gtx_transform
/// @see gtx_transform2
///
/// @defgroup gtc_matrix_transform GLM_GTC_matrix_transform
/// @ingroup gtc
///
/// Include <glm/gtc/matrix_transform.hpp> to use the features of this extension.
///
//... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/matrix_inverse.hpp | .hpp | 1,517 | 51 | /// @ref gtc_matrix_inverse
/// @file glm/gtc/matrix_inverse.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_matrix_inverse GLM_GTC_matrix_inverse
/// @ingroup gtc
///
/// Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.
///
/// Defines additional matrix inverting functions.
#pragma... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/constants.hpp | .hpp | 4,179 | 166 | /// @ref gtc_constants
/// @file glm/gtc/constants.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_constants GLM_GTC_constants
/// @ingroup gtc
///
/// Include <glm/gtc/constants.hpp> to use the features of this extension.
///
/// Provide a list of constants and precomputed useful values.
#pragma once
// Dep... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/random.hpp | .hpp | 2,689 | 83 | /// @ref gtc_random
/// @file glm/gtc/random.hpp
///
/// @see core (dependence)
/// @see gtx_random (extended)
///
/// @defgroup gtc_random GLM_GTC_random
/// @ingroup gtc
///
/// Include <glm/gtc/random.hpp> to use the features of this extension.
///
/// Generate random number from various distribution methods.
#prag... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/ulp.hpp | .hpp | 625 | 25 | /// @ref gtc_ulp
/// @file glm/gtc/ulp.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_ulp GLM_GTC_ulp
/// @ingroup gtc
///
/// Include <glm/gtc/ulp.hpp> to use the features of this extension.
///
/// Allow the measurement of the accuracy of a function against a reference
/// implementation. This extension wor... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/type_precision.hpp | .hpp | 66,814 | 2,139 | /// @ref gtc_type_precision
/// @file glm/gtc/type_precision.hpp
///
/// @see core (dependence)
/// @see gtc_quaternion (dependence)
///
/// @defgroup gtc_type_precision GLM_GTC_type_precision
/// @ingroup gtc
///
/// Include <glm/gtc/type_precision.hpp> to use the features of this extension.
///
/// Defines specific C... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/vec1.hpp | .hpp | 846 | 31 | /// @ref gtc_vec1
/// @file glm/gtc/vec1.hpp
///
/// @see core (dependence)
///
/// @defgroup gtc_vec1 GLM_GTC_vec1
/// @ingroup gtc
///
/// Include <glm/gtc/vec1.hpp> to use the features of this extension.
///
/// Add vec1, ivec1, uvec1 and bvec1 types.
#pragma once
// Dependency:
#include "../ext/vector_bool1.hpp"
... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/round.hpp | .hpp | 7,029 | 203 | /// @ref gtc_round
/// @file glm/gtc/round.hpp
///
/// @see core (dependence)
/// @see gtc_round (dependence)
///
/// @defgroup gtc_round GLM_GTC_round
/// @ingroup gtc
///
/// Include <glm/gtc/round.hpp> to use the features of this extension.
///
/// Rounding value to specific boundings
#pragma once
// Dependencies
... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/epsilon.hpp | .hpp | 1,828 | 61 | /// @ref gtc_epsilon
/// @file glm/gtc/epsilon.hpp
///
/// @see core (dependence)
/// @see gtc_quaternion (dependence)
///
/// @defgroup gtc_epsilon GLM_GTC_epsilon
/// @ingroup gtc
///
/// Include <glm/gtc/epsilon.hpp> to use the features of this extension.
///
/// Comparison functions for a user defined epsilon value... | Unknown |
3D | mcellteam/mcell | libs/glm/gtc/bitfield.hpp | .hpp | 10,144 | 267 | /// @ref gtc_bitfield
/// @file glm/gtc/bitfield.hpp
///
/// @see core (dependence)
/// @see gtc_bitfield (dependence)
///
/// @defgroup gtc_bitfield GLM_GTC_bitfield
/// @ingroup gtc
///
/// Include <glm/gtc/bitfield.hpp> to use the features of this extension.
///
/// Allow to perform bit operations on integer values
... | Unknown |
3D | mcellteam/mcell | utils/plotting/plot_gdat_file.py | .py | 2,327 | 75 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/plotting/plot_averages_into_images.py | .py | 8,218 | 246 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/plotting/plot_dat_files.py | .py | 2,402 | 77 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/validation/validate.py | .py | 3,589 | 121 | #!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdic... | Python |
3D | mcellteam/mcell | utils/validation/avg_react_data.py | .py | 2,685 | 78 | #!/usr/bin/env python3
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdic... | Python |
3D | mcellteam/mcell | utils/validation/utils.py | .py | 4,153 | 137 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/visualize/visualize.sh | .sh | 2,468 | 63 | #!/bin/bash
# This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#
# In jurisdic... | Shell |
3D | mcellteam/mcell | utils/visualize/visualize.py | .py | 3,071 | 79 | # This is free and unencumbered software released into the public domain.
#
# Anyone is free to copy, modify, publish, use, compile, sell, or
# distribute this software, either in source code form or as a compiled
# binary, for any purpose, commercial or non-commercial, and by any
# means.
#
# In jurisdictions that rec... | Python |
3D | mcellteam/mcell | utils/react_data_analyzer/reac_data_analyzer.py | .py | 3,780 | 106 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/bng_analyzer_py/bng_analysis_example.py | .py | 2,820 | 88 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/bng_analyzer_py/viz_reader.py | .py | 2,989 | 81 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/bngl/generate_bngl_function.py | .py | 2,557 | 73 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/blender_debug_scripts/dyn_vertex_check.py | .py | 2,626 | 94 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/data_model_to_constants/datamodel_to_constants.py | .py | 997 | 40 | #!/usr/bin/env python3
"""
Auxiliary script to generate constant definitiosn from a JSON FILE
"""
import json
import sys
def process(json_object, keys, values):
if type(json_object) == dict:
for key, value in json_object.items():
keys.append(key)
process(value, keys, values)
... | Python |
3D | mcellteam/mcell | utils/mcell4_runner/mcell3_runner.py | .py | 3,857 | 127 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/mcell4_runner/bng_runner.py | .py | 7,230 | 225 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/mcell4_runner/mcell4_runner.py | .py | 8,603 | 270 | #!/usr/bin/env python
"""
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdict... | Python |
3D | mcellteam/mcell | utils/mcell4_runner/run_remotely.sh | .sh | 873 | 34 | #!/bin/bash
# Example:
# first 'cd' to the directory with your model then run:
# run_remotely.sh $USER@<machine>:/home/$USER/tmp/my_model <path to mcell4_runner>/mcell4_runner.py . "model.py -s 1:10:1"
USAGE=\
"$1 - remote machine with user and working directory e.g. user@a.server.com:/home/user/tmp\n"\
"$2 - local... | Shell |
3D | mcellteam/mcell | utils/bng_species_reader_py/species_reader.py | .py | 2,225 | 59 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/bng_species_reader_py/bng_species_reader_example.py | .py | 5,253 | 141 | """
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize cop... | Python |
3D | mcellteam/mcell | utils/bng_analyzer/nfsim_species_unifier.h | .h | 1,010 | 38 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/bng_analyzer/nfsim_species_unifier.cpp | .cpp | 3,438 | 136 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/bng_analyzer/bng_analyzer.cpp | .cpp | 3,059 | 134 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/pybind11_build_example/import_mcell.py | .py | 95 | 7 | import sys
sys.path.append("build")
print("before import")
import mcell
print("after import")
| Python |
3D | mcellteam/mcell | utils/pybind11_build_example/test.cpp | .cpp | 2,632 | 88 |
#define _hypot hypot
#include <cmath>
#include <pybind11/pybind11.h>
#include <string>
#include <vector>
namespace py = pybind11;
int add(int i, int j) {
return i + j;
}
enum class Orientation {
DOWN = -1,
NONE = 0,
UP = 1,
NOT_SET = 2,
ANY = 3,
DEFAULT = 4
};
#define POS_INVALID 0
struct Vec3 {
... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/generator_structs.h | .h | 4,978 | 173 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/python_generator.h | .h | 4,558 | 127 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/bngl_generator.cpp | .cpp | 20,526 | 612 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/mcell4_generator.h | .h | 2,909 | 91 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/data_model_geometry.cpp | .cpp | 4,839 | 143 | /******************************************************************************
*
* Copyright (C) 2021 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/data_model_geometry.h | .h | 758 | 25 | /******************************************************************************
*
* Copyright (C) 2021 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/generator_utils.h | .h | 7,623 | 242 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/mcell4_generator.cpp | .cpp | 45,796 | 1,403 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/bngl_generator.h | .h | 3,357 | 95 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | Unknown |
3D | mcellteam/mcell | utils/data_model_to_pymcell/generator_utils.cpp | .cpp | 18,740 | 699 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/python_generator.cpp | .cpp | 51,891 | 1,506 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/data_model_to_pymcell/data_model_to_pymcell.cpp | .cpp | 4,635 | 200 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICENSE file or at
* https://opensource.org/licenses/MIT.
*
***********... | C++ |
3D | mcellteam/mcell | utils/hpc_scripts/mcell_pbs_run_range.py | .py | 2,221 | 64 | #!/usr/bin/env python
import sys
import os
import math
if __name__ == '__main__':
if (len(sys.argv)<4):
print ('\nUsage: %s seed_list_spec seeds_per_node mdl_file\n' % (sys.argv[0]))
print ('\n Example: %s "1:100:2" 8 Scene.main.mdl\n' % (sys.argv[0]))
print (' This would submit mcell jobs to... | Python |
3D | mcellteam/mcell | utils/hpc_scripts/mcell3r_pbs_run_range.py | .py | 2,305 | 65 | #!/usr/bin/env python
import sys
import os
import math
if __name__ == '__main__':
if (len(sys.argv)<5):
print ('\nUsage: %s seed_list_spec seeds_per_node rules_file mdl_file\n' % (sys.argv[0]))
print ('\n Example: %s "1:100:2" 8 Scene.mdlr_rules.xml Scene.main.mdl\n' % (sys.argv[0]))
print (' ... | Python |
3D | mcellteam/mcell | utils/hpc_scripts/mcell_slurm_run_range.py | .py | 2,360 | 67 | #!/usr/bin/env python
import sys
import os
import math
if __name__ == '__main__':
if (len(sys.argv)<4):
print ('\nUsage: %s seed_list_spec seeds_per_node mdl_file\n' % (sys.argv[0]))
print ('\n Example: %s "1:100:2" 8 Scene.main.mdl\n' % (sys.argv[0]))
print (' This would submit mcell jobs to... | Python |
3D | mcellteam/mcell | utils/hpc_scripts/mcell3r_slurm_run_range.py | .py | 2,467 | 70 | #!/usr/bin/env python
import sys
import os
import math
if __name__ == '__main__':
if (len(sys.argv)<5):
print ('\nUsage: %s seed_list_spec seeds_per_node rules_file mdl_file\n' % (sys.argv[0]))
print ('\n Example: %s "1:100:2" 8 Scene.mdlr_rules.xml Scene.main.mdl\n' % (sys.argv[0]))
print (' ... | Python |
3D | mcellteam/mcell | include/debug.h | .h | 2,495 | 93 | /******************************************************************************
*
* Copyright (C) 2020 by
* The Salk Institute for Biological Studies and
* Pittsburgh Supercomputing Center, Carnegie Mellon University
*
* Use of this source code is governed by an MIT-style
* license that can be found in the LICEN... | Unknown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.