text
stringlengths
1
24.5M
#ifndef AMGCL_VALUE_TYPE_COMPLEX_HPP #define AMGCL_VALUE_TYPE_COMPLEX_HPP /* The MIT License Copyright (c) 2015 Christoph Sohrmann 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 restric...
#ifndef AMGCL_VALUE_TYPE_EIGEN_HPP #define AMGCL_VALUE_TYPE_EIGEN_HPP /* The MIT License Copyright (c) 2012-2022 Denis Demidov <dennis.demidov@gmail.com> 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 S...
#ifndef AMGCL_VALUE_TYPE_INTERFACE_HPP #define AMGCL_VALUE_TYPE_INTERFACE_HPP /* The MIT License Copyright (c) 2012-2022 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal ...
#ifndef AMGCL_VALUE_TYPE_STATIC_MATRIX_HPP #define AMGCL_VALUE_TYPE_STATIC_MATRIX_HPP /* The MIT License Copyright (c) 2012-2022 Denis Demidov <dennis.demidov@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), ...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <amgcl/util.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/io/binary.hpp> int main(int argc, char *argv[]) { namespace po = boost::program_options; namespace io = amgcl::io; using a...
#include <iostream> #include <fstream> #include <iterator> #include <algorithm> #include <amgcl/amg.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/backend/block_crs.hpp> #include <amgcl/coarsening/aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/bicgstab.hpp> #include <amgcl/...
#include <iostream> #include <vector> #include <lib/amgcl.h> #include "sample_problem.hpp" int main() { std::vector<int> ptr; std::vector<int> col; std::vector<double> val; std::vector<double> rhs; int n = sample_problem(128l, val, col, ptr, rhs); amgclHandle prm = amgcl_params_create(...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/preprocessor/seq/for_each.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/make_solv...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/preprocessor/seq/for_each.hpp> #if defined(SOLVER_BACKEND_VEXCL) # include <amgcl/backend/vexcl.hpp> # include <amgcl/backend/vexcl_stati...
#include <iostream> #include <vector> #include <algorithm> #include <amgcl/amg.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_builder.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/gauss_seidel.hpp> #include <amgcl/solver/cg....
#include <iostream> #include <vector> #include <map> #include <amgcl/backend/builtin.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/coarsening/aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/cg.hpp> #incl...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/relaxation/runtime.hpp> #include <amgcl/coarsening/runtime.hpp> #include <amgcl/coarsening/rigid_body...
#include <iostream> #include <vector> #include <tuple> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/backend/mkl.hpp> #include <amgcl/adapter/crs_builder.hpp> #include <amgcl/coarsening/plain_aggregates.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/sp...
#include <vector> #include <tuple> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/cg.hpp> #include <amgcl/profiler.hpp> #if defined(SOLVER_BACKEND_VEXCL) ...
#include <iostream> #include <string> #include <complex> #include <boost/program_options.hpp> #include <amgcl/util.hpp> #include <amgcl/value_type/complex.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/io/binary.hpp> namespace io = amgcl::io; namespace po = boost::program_options; using amgcl::precondition; //-----...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/relaxation/runtime.hpp> #include <amgcl/coarsening/runtime.hpp> #include <amgcl/coarsening/rigid_body...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/preprocessor/seq/for_each.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/make_block_solver.hpp> #include <amgcl/value_type/static_ma...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/preprocessor/seq/for_each.hpp> #if defined(SOLVER_BACKEND_VEXCL) # include <amgcl/backend/vexcl.hpp> # include <amgcl/backend/vexcl_stati...
#include <iostream> #include <string> #include <random> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/range/iterator_range.hpp> #include <boost/preprocessor/seq/for_each.hpp> #if defined(SOLVER_BACKEND_VEXCL) # include <a...
#include <iostream> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/range/iterator_range.hpp> #include <boost/preprocessor/seq/for_each.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/co...
#include <iostream> #include <hpx/hpx_init.hpp> #include <amgcl/amg.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/backend/hpx.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/bicgstab.hpp> #include <amg...
#include <iostream> #include <cstdlib> #include <utility> #include <boost/numeric/ublas/vector.hpp> #include <boost/numeric/ublas/matrix_sparse.hpp> #include <amgcl/amg.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/ublas.hpp> #include <amgcl/coarsening/smoothed_agg...
#include <iostream> #include <amgcl/amg.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/backend/vexcl.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/bicgstab.hpp> #include <amgcl/profiler.hpp> #include...
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <numeric> #include <boost/scope_exit.hpp> #include <amgcl/mpi/util.hpp> #include <amgcl_mpi.h> #include "domain_partition.hpp" double STDCALL constant_deflation(int, ptrdiff_t, void*) { return 1; } int main(int argc, char *arg...
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <algorithm> #include <numeric> #include <cmath> #include <boost/scope_exit.hpp> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <amgcl/mpi/direct_s...
#include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/range/iterator_range.hpp> #include <boost/scope_exit.hpp> #include <amgcl/io/binary.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/backend...
#ifndef EXAMPLES_MPI_DOMAIN_PARTITION_HPP #define EXAMPLES_MPI_DOMAIN_PARTITION_HPP #include <vector> #include <utility> #include <boost/geometry.hpp> #include <boost/geometry/geometries/adapted/boost_array.hpp> #include <boost/geometry/geometries/box.hpp> #include <boost/geometry/index/rtree.hpp> BOOST_GEOMETRY_REG...
#ifndef MBA_MBA_HPP #define MBA_MBA_HPP /* The MIT License Copyright (c) 2015 Denis Demidov <dennis.demidov@gmail.com> 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, includ...
#include <iostream> #include <vector> #include <string> #include <complex> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/complex.hpp> #include <amgcl/adapter/crs_tuple.hpp> #...
#include <iostream> #include <vector> #include <string> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/preprocessor/seq/for_each.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #includ...
#include <iostream> #include <vector> #include <string> #include <algorithm> #include <numeric> #include <cassert> #include <boost/program_options.hpp> #include <amgcl/util.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/io/binary.hpp> extern "C" { #include <metis.h> } using amgcl::precondition; //----------------...
#include <iostream> #include <vector> #include <string> #include <utility> #include <numeric> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/range/iterator_range.hpp> #include <boost/scope_exit.hpp> #include <amgcl/backend/b...
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <numeric> #include <cmath> #include <stdexcept> #ifdef _OPENMP #include <omp.h> #endif #include "domain_partition.hpp" #include "mba.hpp" #include <boost/scope_exit.hpp> #include <memory> #include <boost/program_options.hpp> #includ...
#include <iostream> #include <iomanip> #include <fstream> #include <vector> #include <array> #include <numeric> #include <cmath> #ifdef _OPENMP #include <omp.h> #endif #include <boost/scope_exit.hpp> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser...
#include <iostream> #include <iterator> #include <iomanip> #include <fstream> #include <vector> #include <numeric> #include <cmath> #ifdef _OPENMP #include <omp.h> #endif #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <boost/range/i...
#include <iostream> #include <iterator> #include <iomanip> #include <fstream> #include <vector> #include <algorithm> #include <numeric> #include <cmath> #include <cassert> #ifdef _OPENMP #include <omp.h> #endif #include <boost/scope_exit.hpp> #include <boost/program_options.hpp> #include <boost/property_tree/ptree.hp...
#include <iostream> #include <vector> #include <boost/scope_exit.hpp> #include <boost/program_options.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/mpi/util.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/profiler.hpp> #include "domain_partition.hpp...
#include <iostream> #include <vector> #include <boost/scope_exit.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/profiler.hpp> namespace amgcl { p...
#include <iostream> #include <vector> #include <boost/scope_exit.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/profiler.hpp> namespace amgcl { profiler<> prof; } int main(int argc, char *arg...
#include <iostream> #include <type_traits> #include <boost/iterator/transform_iterator.hpp> #include <boost/range/iterator_range.hpp> #include <boost/property_tree/ptree.hpp> #include <boost/property_tree/json_parser.hpp> #include <amgcl/relaxation/runtime.hpp> #include <amgcl/coarsening/runtime.hpp> #include <amgcl/...
#ifndef LIB_AMGCL_H #define LIB_AMGCL_H /* The MIT License Copyright (c) 2012-2015 Denis Demidov <dennis.demidov@gmail.com> 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, i...
#include <iostream> #include <functional> #include <type_traits> #include <boost/range/iterator_range.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/runtime.hpp> #include <amgcl/relaxation/runtime.hpp> #include <amgcl/mpi/solver/runtime.hpp> #include <amgcl/mpi/direct_solver/runtime.hpp> #include <amgcl/mpi...
#ifndef LIB_AMGCL_MPI_H #define LIB_AMGCL_MPI_H /* The MIT License Copyright (c) 2012-2015 Denis Demidov <dennis.demidov@gmail.com> 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 restri...
#include <vector> #include <string> #include <sstream> #include <cstring> #include <boost/range/iterator_range.hpp> #include <boost/property_tree/ptree.hpp> #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include <pybind11/numpy.h> #include <amgcl/backend/builtin.hpp> #include <amgcl/solver/runtime.hpp> #i...
#ifndef TESTS_SAMPLE_PROBLEM_HPP #define TESTS_SAMPLE_PROBLEM_HPP #include <complex> #include <type_traits> #include <cstddef> #include <amgcl/value_type/interface.hpp> // Generates matrix for poisson problem in a unit cube. template <typename ValueType, typename ColType, typename PtrType, typename RhsType> int sampl...
#define BOOST_TEST_MODULE TestComplex #include <boost/test/unit_test.hpp> #include <complex> #include <amgcl/backend/builtin.hpp> #include <amgcl/amg.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/coarsening/aggregation.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/coarsening/smoot...
#define BOOST_TEST_MODULE TestEigenSolver #include <boost/test/unit_test.hpp> #include <Eigen/SparseLU> #include <amgcl/solver/eigen.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/profiler.hpp> #include "sample_problem.hpp" namespace amgcl { profiler<> prof; } BO...
#define BOOST_TEST_MODULE TestSkylineLU #include <boost/test/unit_test.hpp> #include <amgcl/io/mm.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/profiler.hpp> #include "sample_problem.hpp" namespace amgcl { profiler<> prof; } BOOST_AUTO_TEST_SUITE( test_io ) BOOST_AUTO_TEST_CASE(io_mm) { std::v...
#define BOOST_TEST_MODULE TestQR #include <boost/test/unit_test.hpp> #include <vector> #include <random> #include <boost/multi_array.hpp> #include <amgcl/detail/qr.hpp> #include <amgcl/value_type/interface.hpp> #include <amgcl/value_type/complex.hpp> #include <amgcl/value_type/static_matrix.hpp> template <class T> s...
#define BOOST_TEST_MODULE TestSkylineLU #include <boost/test/unit_test.hpp> #include <amgcl/adapter/zero_copy.hpp> #include <amgcl/solver/skyline_lu.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/profiler.hpp> #include "sample_problem.hpp" namespace amgcl { profiler<> prof; } BOOST_AUTO_TEST_SUITE( te...
#ifndef TESTS_TEST_SOLVER_HPP #define TESTS_TEST_SOLVER_HPP #include <amgcl/amg.hpp> #include <amgcl/solver/runtime.hpp> #include <amgcl/coarsening/runtime.hpp> #include <amgcl/relaxation/runtime.hpp> #include <amgcl/relaxation/as_preconditioner.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/adapter/zero_copy.h...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/blaze.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_blaze_backend) { test_backend< amgcl::backend::blaze<double> >(); } BOOST_AUTO_TEST_SUITE_END()
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/block_crs.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_block_crs_backend) { test_backend< amgcl::backend::block_crs<double> >(); } BOOST_AUTO_TEST_SUITE_END()
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/builtin.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_builtin_backend) { test_backend< amgcl::backend::builtin<double> >(); test_backend< amgcl::backend::builtin...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/value_type/complex.hpp> #include <amgcl/backend/builtin.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_builtin_complex_backend) { test_backend< amgcl::backend::builtin< std:...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/eigen.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_eigen_backend) { test_backend< amgcl::backend::eigen<double> >(); } BOOST_AUTO_TEST_SUITE_END()
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_nonscalar_backend) { test_backend< amgcl::backend::builtin< amgcl...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/eigen.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_nonscalar_backend) { test_backend< amgcl::backend::builtin< Eigen::Matrix...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/vexcl.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_vexcl_backend) { vex::Context ctx(vex::Filter::Env && vex::Filter::DoublePrecision && vex::Filter::Count(1)); ...
#define BOOST_TEST_MODULE TestSolvers #include <boost/test/unit_test.hpp> #include <amgcl/backend/viennacl.hpp> #include "test_solver.hpp" BOOST_AUTO_TEST_SUITE( test_solvers ) BOOST_AUTO_TEST_CASE(test_viennacl_backend) { test_backend< amgcl::backend::viennacl< viennacl::compressed_matrix<double> > >(); tes...
#define BOOST_TEST_MODULE TestStaticMatrix #include <boost/test/unit_test.hpp> #include <amgcl/value_type/static_matrix.hpp> BOOST_AUTO_TEST_SUITE( test_static_matrix ) BOOST_AUTO_TEST_CASE( sum ) { amgcl::static_matrix<int, 2, 2> a = {{1, 2, 3, 4}}; amgcl::static_matrix<int, 2, 2> b = {{4, 3, 2, 1}}; am...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/bicgstab.hpp> #include <amgcl/io...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/mpi/make_solver.hpp> #include <amgcl/mpi/amg.hpp> #include <amgcl/mpi/coarsening/smoothed_aggregation.hpp> #include <amgcl/mpi/relaxation/spai0....
#include <vector> #include <iostream> #include <amgcl/backend/vexcl.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/mpi/make_solver.hpp> #include <amgcl/mpi/amg.hpp> #include <amgcl/mpi/coarsening/smoothed_aggregation.hpp> #include <amgcl/mpi/relaxation/spai0.hp...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include <amgcl/solver/cg.hpp> #include <amgcl/value_typ...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/mpi/make_solver.hpp> #include <amgcl/mpi/amg.hpp> #inclu...
#include <vector> #include <iostream> #include <amgcl/backend/vexcl.hpp> #include <amgcl/backend/vexcl_static_matrix.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/mpi/make_...
#include <vector> #include <iostream> #include <amgcl/backend/vexcl.hpp> #include <amgcl/backend/vexcl_static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/spai0.hpp> #include ...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/ilu0.hpp> #include <amgcl/solver/bicgstab.hpp> #include <amgcl/valu...
#include <iostream> #include <string> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/preconditioner/schur_pressure_correction.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/make_b...
#include <vector> #include <iostream> #include <amgcl/backend/vexcl.hpp> #include <amgcl/backend/vexcl_static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/relaxation/ilu0.hpp> #include <...
#include <iostream> #include <string> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/preconditioner/schur_pressure_correction.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/make_b...
#include <iostream> #include <string> #include <amgcl/backend/vexcl.hpp> #include <amgcl/backend/vexcl_static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/preconditioner/schur_pressure_correction.hpp> #include...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/coarsening/rigid_body_modes.hpp> #include <amgcl/relaxation/spai0.hpp> #includ...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/adapter/block_matrix.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #inclu...
#include <vector> #include <iostream> #include <amgcl/backend/builtin_hybrid.hpp> #include <amgcl/value_type/static_matrix.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/make_solver.hpp> #include <amgcl/amg.hpp> #include <amgcl/coarsening/smoothed_aggregation.hpp> #include <amgcl/coarsening/rigid_body_mod...
#include <vector> #include <iostream> #include <amgcl/backend/builtin.hpp> #include <amgcl/adapter/crs_tuple.hpp> #include <amgcl/coarsening/rigid_body_modes.hpp> #include <amgcl/mpi/distributed_matrix.hpp> #include <amgcl/mpi/make_solver.hpp> #include <amgcl/mpi/amg.hpp> #include <amgcl/mpi/coarsening/smoothed_aggre...
/* * @date : 2018/04/18 * @author : Rprop (r_prop@outlook.com) * https://github.com/Rprop/And64InlineHook */ /* MIT License Copyright (c) 2018 Rprop (r_prop@outlook.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
/* * @date : 2018/04/18 * @author : Rprop (r_prop@outlook.com) * https://github.com/Rprop/And64InlineHook */ /* MIT License Copyright (c) 2018 Rprop (r_prop@outlook.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <jni.h> /* Header for class com_scanlibrary_ScanActivity */ #ifndef _Included_com_scanlibrary_ScanActivity #define _Included_com_scanlibrary_ScanActivity #ifdef __cplusplus extern "C" { #endif #undef com_scanlibrary_ScanActivity_BIND_ABOVE_CLIENT #define c...
/* DO NOT EDIT THIS FILE - it is machine generated */ #include "com_scanlibrary_ScanActivity.h" #include <android/log.h> #include <opencv2/opencv.hpp> #include <algorithm> #include <string> #include <vector> #include <opencv2/core/core.hpp> #include <opencv2/imgproc/imgproc_c.h> #include <android/bitmap.h> #define APPN...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/////////////////////////////////////////////////////////////////////////////// // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to // this license. If you do not agree to this license, do not download, // install, copy o...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
#ifndef __OPENCV_OLD_CXMISC_H__ #define __OPENCV_OLD_CXMISC_H__ #ifdef __cplusplus # include "opencv2/core/utility.hpp" #endif #endif
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/* OpenCV compiled as static or dynamic libs */ /* #undef BUILD_SHARED_LIBS */ /* Compile for 'real' NVIDIA GPU architectures */ #define CUDA_ARCH_BIN "" /* Create PTX or BIN for 1.0 compute capability */ /* #undef CUDA_ARCH_BIN_OR_PTX_10 */ /* NVIDIA GPU features are used */ #define CUDA_ARCH_FEATURES "" /* Compil...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...
/*M/////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, instal...