|
| template<std::size_t GeometryMapNumCoeffs, std::size_t VariableNumCoeffs> |
| | EZSolverBase (const std::array< int64_t, GeometryMapNumCoeffs > &geometryMapNumCoeffs, const std::array< int64_t, VariableNumCoeffs > &variableNumCoeffs) |
| | Constructor.
|
| |
| auto const & | collPts () const |
| | Returns a constant reference to the collocation points.
|
| |
| auto & | G () |
| | Returns a non-constant reference to the geometry.
|
| |
| auto const & | G () const |
| | Returns a constant reference to the geometry.
|
| |
| void | init () override |
| | Initializes the solver.
|
| |
| auto & | u () |
| | Returns a non-constant reference to the variable.
|
| |
| auto const & | u () const |
| | Returns a constant reference to the variable.
|
| |
| virtual void | assemble () |
| | Assembles the solver.
|
| |
| virtual void | assembleLhs ()=0 |
| | Assembles the left-hand side of the solver.
|
| |
| virtual void | assembleRhs ()=0 |
| | Assembles the right-hand side of the solver.
|
| |
| constexpr auto & | lhs () |
| | Returns a non-constant reference to the left-hand side object.
|
| |
| constexpr const auto & | lhs () const |
| | Returns a constant reference to the left-hand side object.
|
| |
| void | pretty_print (std::ostream &os) const noexcept override |
| | Returns a string representation of the IgASolver object.
|
| |
| constexpr auto & | rhs () |
| | Returns a non-constant reference to the right-hand side object.
|
| |
| constexpr const auto & | rhs () const |
| | Returns a constant reference to the right-hand side object.
|
| |
| torch::Tensor | solve () const |
| | Computes the solution vector.
|
| |
|
| Base::template collPts_t< 0 > | collPts_ |
| | Collocation points.
|
| |
| Customizable::template input_interior_knot_indices_t< 0 > | G_knot_indices_ |
| | Knot indices of the geometry map.
|
| |
| Customizable::template input_boundary_knot_indices_t< 0 > | G_knot_indices_boundary_ |
| | Knot indices of the geometry map at the boundary.
|
| |
| Customizable::template output_interior_knot_indices_t< 0 > | var_knot_indices_ |
| | Knot indices of variables.
|
| |
| Customizable::template output_boundary_knot_indices_t< 0 > | var_knot_indices_boundary_ |
| | Knot indices of variables at the boundary.
|
| |
| torch::Tensor | lhs_ |
| | Left-hand side tensor.
|
| |
| torch::Tensor | rhs_ |
| | Right-hand side tensor.
|
| |
template<FunctionSpaceType GeometryMap, FunctionSpaceType Variable>
class iganet::EZSolverBase< GeometryMap, Variable >
Easy-to-use solver base class.
This abstract class implements an easy-to-use solver that takes a geometry map and a variable function space as inputs. Note that this is an abstract class. A derived class needs to implement the member functions assembleLhs and assembleRhs.