PreconditionerAdapter.hpp
Go to the documentation of this file.
120 virtual std::shared_ptr<Dune::PreconditionerWithUpdate<CuVector<field_type>, CuVector<field_type>>>
Interface class adding the update() method to the preconditioner interface. Definition: PreconditionerWithUpdate.hpp:32 Makes a CUDA preconditioner available to a CPU simulator. Definition: PreconditionerAdapter.hpp:43 Dune::SolverCategory::Category category() const override Category of the preconditioner (see SolverCategory::Category) Definition: PreconditionerAdapter.hpp:100 static constexpr bool shouldCallPre() Definition: PreconditionerAdapter.hpp:111 virtual void pre(X &x, Y &b) override Prepare the preconditioner. Definition: PreconditionerAdapter.hpp:67 static constexpr bool shouldCallPost() Definition: PreconditionerAdapter.hpp:115 virtual void apply(X &v, const Y &d) override Apply the preconditoner. Definition: PreconditionerAdapter.hpp:77 virtual void post(X &x) override Clean up. Definition: PreconditionerAdapter.hpp:92 PreconditionerAdapter(std::shared_ptr< CudaPreconditionerType > preconditioner) Constructor. Definition: PreconditionerAdapter.hpp:58 X domain_type The domain type of the preconditioner. Definition: PreconditionerAdapter.hpp:46 virtual std::shared_ptr< Dune::PreconditionerWithUpdate< CuVector< field_type >, CuVector< field_type > > > getUnderlyingPreconditioner() override getUnderlyingPreconditioner gets the underlying preconditioner (preconditioner being held) Definition: PreconditionerAdapter.hpp:121 typename X::field_type field_type The field type of the preconditioner. Definition: PreconditionerAdapter.hpp:50 virtual void update() override Calls update on the underlying CUDA preconditioner. Definition: PreconditionerAdapter.hpp:106 Y range_type The range type of the preconditioner. Definition: PreconditionerAdapter.hpp:48 Common interface for adapters that hold preconditioners. Definition: PreconditionerHolder.hpp:34 Definition: CuBlockPreconditioner.hpp:29 |