|
| | EZSolver (const GeometryMap &geometryMap, const Variable &variable, const std::function< std::array< torch::Tensor, Variable::template geoDim< 0 >()>(const std::array< torch::Tensor, Variable::template parDim< 0 >()> &) > &rhs) |
| | Constructor.
|
| |
| void | assembleLhs () override |
| | Assembles the left-hand side as the mass matrix.
|
| |
| void | assembleRhs () override |
| | Assembles the right-hand side from the given function.
|
| |
| 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.
|
| |
| 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.
|
| |
|
| using | Base = IgABase< std::tuple< GeometryMap >, std::tuple< Variable >, void > |
| | Base type.
|
| |
| using | Base = iganet::IgASolver< std::tuple< GeometryMap >, std::tuple< Variable > > |
| | Type of the base class.
|
| |
| using | Customizable = iganet::IgANetCustomizable< std::tuple< GeometryMap >, std::tuple< Variable > > |
| | Type of the customizable class.
|
| |
| 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::EZSolver< GeometryMap, Variable >
Easy-to-use solver class.
This class implements an easy-to-use solver that takes a geometry map and a variable function space as inputs.