PreconditionerAdapter.hpp
Go to the documentation of this file.
42 public PreconditionerHolder<GpuVector<typename X::field_type>, GpuVector<typename Y::field_type>>
120 virtual std::shared_ptr<Dune::PreconditionerWithUpdate<GpuVector<field_type>, GpuVector<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 Y range_type The range type of the preconditioner. Definition: PreconditionerAdapter.hpp:48 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 bool hasPerfectUpdate() const override Definition: PreconditionerAdapter.hpp:126 virtual void pre(X &x, Y &b) override Prepare the preconditioner. Definition: PreconditionerAdapter.hpp:67 virtual void update() override Calls update on the underlying CUDA preconditioner. Definition: PreconditionerAdapter.hpp:106 virtual std::shared_ptr< Dune::PreconditionerWithUpdate< GpuVector< field_type >, GpuVector< 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 post(X &x) override Clean up. Definition: PreconditionerAdapter.hpp:92 X domain_type The domain type of the preconditioner. Definition: PreconditionerAdapter.hpp:46 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 PreconditionerAdapter(std::shared_ptr< CudaPreconditionerType > preconditioner) Constructor. Definition: PreconditionerAdapter.hpp:58 Common interface for adapters that hold preconditioners. Definition: PreconditionerHolder.hpp:34 Definition: autotuner.hpp:29 |