6 #include <amdis/typetree/TreeContainer.hpp> 19 template <
class Mat,
class Sol,
class Rhs>
31 virtual void init() = 0;
38 virtual void apply(Mat& A, Sol& x, Rhs& b) = 0;
41 template <
class Mat,
class Sol,
class Rhs>
44 template <
class RN,
class CN>
45 using type = std::list<std::shared_ptr<BoundaryCondition<Mat, Sol, Rhs>>>;
50 template <
class Mat,
class Sol,
class Rhs,
class RB,
class CB>
53 typename RB::LocalView::Tree,
typename CB::LocalView::Tree>;
Definition: BoundaryCondition.hpp:42
Contains all classes needed for solving linear and non linear equation systems.
Definition: AdaptBase.hpp:6
TreeContainer< Impl::RowNodeData< NodeData, ColTree, leafOnly >::template type, RowTree, leafOnly > TreeMatrix
Definition: TreeContainer.hpp:379
virtual void init()=0
Initialize the boundary condition.
TreeMatrix< BCData< Mat, Sol, Rhs >::template type, typename RB::LocalView::Tree, typename CB::LocalView::Tree > BoundaryConditions
Definition: BoundaryCondition.hpp:53
virtual void apply(Mat &A, Sol &x, Rhs &b)=0
Apply the boundary condition to matrix and vector.
BoundaryCondition()=default
Default constructor.
Interface class for boundary conditions.
Definition: BoundaryCondition.hpp:20