Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create alias-declaration for all solver types #602

Open
boulderdaze opened this issue Jul 11, 2024 · 0 comments
Open

Create alias-declaration for all solver types #602

boulderdaze opened this issue Jul 11, 2024 · 0 comments

Comments

@boulderdaze
Copy link
Collaborator

boulderdaze commented Jul 11, 2024

  • Make vector ordered version of micm::CpuSolverBuilder -> micm::VectorizedCpuSolverBuilder
using builderType = micm::CpuSolverBuilder;
using solverType = builderType::RosenbrockType;
  • Also make one for the JIT and the Cuda builders

We've defined the CpuSolverBuilder here:

/// @brief Builder of CPU-based general solvers
/// @tparam SolverParametersPolicy Parameters for the ODE solver
/// @tparam DenseMatrixPolicy Policy for dense matrices
/// @tparam SparseMatrixPolicy Policy for sparse matrices
template<
class SolverParametersPolicy,
class DenseMatrixPolicy = Matrix<double>,
class SparseMatrixPolicy = SparseMatrix<double, SparseMatrixStandardOrdering>>
using CpuSolverBuilder = SolverBuilder<
SolverParametersPolicy,
DenseMatrixPolicy,
SparseMatrixPolicy,
ProcessSet,
LinearSolver<SparseMatrixPolicy, LuDecomposition>,
State<DenseMatrixPolicy, SparseMatrixPolicy>>;

@boulderdaze boulderdaze self-assigned this Jul 11, 2024
@K20shores K20shores changed the title Create alias-declaration for vector-ordered solver builder Create alias-declaration for all solver types Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant