PreconditionerAdapter.hpp
Go to the documentation of this file.
42 public PreconditionerHolder<GpuVector<typename X::field_type>, GpuVector<typename Y::field_type>>
119 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:114 virtual void apply(X &v, const Y &d) override Apply the preconditoner. Definition: PreconditionerAdapter.hpp:76 virtual bool hasPerfectUpdate() const override Definition: PreconditionerAdapter.hpp:125 virtual void pre(X &x, Y &b) override Prepare the preconditioner. Definition: PreconditionerAdapter.hpp:66 virtual void update() override Calls update on the underlying CUDA preconditioner. Definition: PreconditionerAdapter.hpp:105 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:120 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:91 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:99 static constexpr bool shouldCallPre() Definition: PreconditionerAdapter.hpp:110 PreconditionerAdapter(std::shared_ptr< CudaPreconditionerType > preconditioner) Constructor. Definition: PreconditionerAdapter.hpp:57 Common interface for adapters that hold preconditioners. Definition: PreconditionerHolder.hpp:34 Definition: AmgxInterface.hpp:38 |