|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
Namespaces | |
| pf | |
Classes | |
| class | FixedValuesGenerator |
| class | Generator |
| class | GeneratorBase |
| class | GeneratorRandomiser |
| struct | Generators |
| struct | IGenerator |
| struct | NullGenerator |
| class | RangeGenerator |
| struct | RequiresASpecialisationFor |
| class | SingleValueGenerator |
Typedefs | |
| using | GeneratorBasePtr = std::unique_ptr< GeneratorBase > |
Functions | |
| std::vector< size_t > | randomiseIndices (size_t selectionSize, size_t sourceSize) |
| template<typename T > | |
| auto | all () -> Generator< T > |
| template<> | |
| auto | all< int > () -> Generator< int > |
| template<typename T > | |
| auto | range (T const &first, T const &last) -> Generator< T > |
| template<typename T > | |
| auto | random (T const &first, T const &last) -> Generator< T > |
| template<typename T > | |
| auto | random (size_t size) -> Generator< T > |
| template<typename T > | |
| auto | values (std::initializer_list< T > values) -> Generator< T > |
| template<typename T > | |
| auto | value (T const &val) -> Generator< T > |
| template<typename T > | |
| auto | as () -> Generator< T > |
| template<typename... Ts> | |
| auto | table (std::initializer_list< std::tuple< Ts... >> &&tuples) -> Generator< std::tuple< Ts... >> |
| template<typename T , typename... Gs> | |
| auto | makeGenerators (Generator< T > &&generator, Gs...moreGenerators) -> Generators< T > |
| template<typename T > | |
| auto | makeGenerators (Generator< T > &&generator) -> Generators< T > |
| template<typename T , typename... Gs> | |
| auto | makeGenerators (T &&val, Gs...moreGenerators) -> Generators< T > |
| template<typename T , typename U , typename... Gs> | |
| auto | makeGenerators (U &&val, Gs...moreGenerators) -> Generators< T > |
| auto | acquireGeneratorTracker (SourceLineInfo const &lineInfo) -> IGeneratorTracker & |
| template<typename L > | |
| auto | generate (SourceLineInfo const &lineInfo, L const &generatorExpression) -> decltype(std::declval< decltype(generatorExpression())>()[0]) |
| using Catch::Generators::GeneratorBasePtr = typedef std::unique_ptr<GeneratorBase> |
| auto Catch::Generators::acquireGeneratorTracker | ( | SourceLineInfo const & | lineInfo | ) | -> IGeneratorTracker & |
Referenced by generate(), and makeGenerators().
| auto Catch::Generators::all | ( | ) | -> Generator<T> |
Definition at line 3150 of file catch.hpp.
References all< int >().
| auto Catch::Generators::all< int > | ( | ) | -> Generator< int > |
Referenced by all().
| auto Catch::Generators::as | ( | ) | -> Generator<T> |
| auto Catch::Generators::generate | ( | SourceLineInfo const & | lineInfo, |
| L const & | generatorExpression | ||
| ) | -> decltype(std::declval<decltype(generatorExpression())>()[0]) |
Definition at line 3258 of file catch.hpp.
References acquireGeneratorTracker(), Catch::IGeneratorTracker::getGenerator(), Catch::IGeneratorTracker::getIndex(), Catch::IGeneratorTracker::hasGenerator(), Catch::Generators::pf::make_unique(), and Catch::IGeneratorTracker::setGenerator().
| auto Catch::Generators::makeGenerators | ( | Generator< T > && | generator, |
| Gs... | moreGenerators | ||
| ) | -> Generators<T> |
| auto Catch::Generators::makeGenerators | ( | Generator< T > && | generator | ) | -> Generators<T> |
Definition at line 3238 of file catch.hpp.
References growth_allz::T.
| auto Catch::Generators::makeGenerators | ( | T && | val, |
| Gs... | moreGenerators | ||
| ) | -> Generators<T> |
Definition at line 3244 of file catch.hpp.
References makeGenerators(), growth_allz::T, and value().
| auto Catch::Generators::makeGenerators | ( | U && | val, |
| Gs... | moreGenerators | ||
| ) | -> Generators<T> |
Definition at line 3248 of file catch.hpp.
References acquireGeneratorTracker(), growth_allz::T, and value().
Referenced by makeGenerators().
| auto Catch::Generators::random | ( | T const & | first, |
| T const & | last | ||
| ) | -> Generator<T> |
Definition at line 3161 of file catch.hpp.
References range().
| auto Catch::Generators::random | ( | size_t | size | ) | -> Generator<T> |
| std::vector<size_t> Catch::Generators::randomiseIndices | ( | size_t | selectionSize, |
| size_t | sourceSize | ||
| ) |
Referenced by Catch::Generators::Generator< T >::operator[]().
| auto Catch::Generators::range | ( | T const & | first, |
| T const & | last | ||
| ) | -> Generator<T> |
Definition at line 3156 of file catch.hpp.
References Catch::Generators::pf::make_unique().
Referenced by param_space::build_data_dict(), param_space::ccl_summary_stats(), param_space::generate_ccl_pspec(), param_space::generate_class_ini(), param_space::generate_latin_hypercube(), param_space::load_hypercube(), param_space::load_summary_stats(), nlohmann::detail::lexer< BasicJsonType >::next_byte_in_range(), random(), ccl_test_growth::test_mgrowth(), ccl_test_redshifts::test_redshift_numerical(), and ccl_test_swig_interface::test_swig_cls().
| auto Catch::Generators::table | ( | std::initializer_list< std::tuple< Ts... >> && | tuples | ) | -> Generator<std::tuple<Ts...>> |
Definition at line 3187 of file catch.hpp.
References values().
| auto Catch::Generators::value | ( | T const & | val | ) | -> Generator<T> |
Definition at line 3177 of file catch.hpp.
Referenced by nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::accept(), Catch::Detail::Approx::Approx(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::back(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::basic_json(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::calc_bson_unsigned_size(), Catch::Capturer::captureValues(), nlohmann::detail::dtoa_impl::compute_boundaries(), Catch::StringMaker< T, typename >::convert(), Catch::Detail::convertUnstreamable(), nlohmann::detail::serializer< BasicJsonType >::dump_escaped(), Catch::Detail::Approx::epsilon(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::erase(), nlohmann::json_pointer< BasicJsonType >::flatten(), nlohmann::detail::from_json(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::get(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::get_msgpack_float_prefix(), get_per(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::get_ptr(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::get_ref(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::get_ref_impl(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::get_to(), Grid< NDIM, T >::Grid(), nlohmann::detail::json_sax_dom_callback_parser< BasicJsonType >::handle_value(), nlohmann::detail::input_adapter::input_adapter(), is_err(), nlohmann::detail::json_ref< BasicJsonType >::json_ref(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::json_value::json_value(), makeGenerators(), Catch::Detail::Approx::margin(), MultiGrid< 3, CHI_PREC_t >::MultiGrid(), Catch::Detail::Approx::operator()(), Catch::operator+(), Catch::ReusableStringStream::operator<<(), Catch::MessageStream::operator<<(), Catch::MessageBuilder::operator<<(), Catch::Decomposer::operator<=(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::operator[](), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::parse(), nlohmann::detail::binary_reader< BasicJsonType, SAX >::parse_bson_element_internal(), Catch::Generators::Generators< T >::populate(), Catch::Detail::rangeToString(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::sax_parse(), Grid< NDIM, T >::set_y(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::to_char_type(), nlohmann::detail::to_chars(), nlohmann::detail::to_json(), nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer >::value(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_double(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_integer(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_bson_unsigned(), nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_number(), and nlohmann::detail::binary_writer< BasicJsonType, CharType >::write_number_with_ubjson_prefix().
| auto Catch::Generators::values | ( | std::initializer_list< T > | values | ) | -> Generator<T> |
Definition at line 3173 of file catch.hpp.
Referenced by Catch::Capturer::captureValues(), and table().