![]() |
IgANet
IgANets - Isogeometric Analysis Networks
|
Specialization of the abstract IgANet class for function fitting. More...
Public Member Functions | |
auto const & | collPts () const |
Returns a constant reference to the collocation points. | |
auto const & | collPts () const |
Returns a constant reference to the collocation points. | |
auto const & | collPts () const |
Returns a constant reference to the collocation points. | |
auto const & | collPts () const |
Returns a constant reference to the collocation points. | |
auto const & | collPts () const |
Returns a constant reference to the collocation points. | |
bool | epoch (int64_t epoch) override |
Initializes the epoch. | |
bool | epoch (int64_t epoch) override |
Initializes the epoch. | |
bool | epoch (int64_t epoch) override |
Initializes the epoch. | |
bool | epoch (int64_t epoch) override |
Initializes the epoch. | |
bool | epoch (int64_t epoch) override |
Initializes the epoch. | |
torch::Tensor | loss (const torch::Tensor &outputs, int64_t epoch) override |
Computes the loss function. | |
torch::Tensor | loss (const torch::Tensor &outputs, int64_t epoch) override |
Computes the loss function. | |
torch::Tensor | loss (const torch::Tensor &outputs, int64_t epoch) override |
Computes the loss function. | |
torch::Tensor | loss (const torch::Tensor &outputs, int64_t epoch) override |
Computes the loss function. | |
torch::Tensor | loss (const torch::Tensor &outputs, int64_t epoch) override |
Computes the loss function. | |
![]() | |
IgANet (IgANetOptions defaults={}, iganet::Options< typename Base::value_type > options=iganet::Options< typename Base::value_type >{}) | |
Default constructor. | |
Private Types | |
using | Base = iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData > |
Type of the base class. | |
using | Base = iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData > |
Type of the base class. | |
using | Base = iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData > |
Type of the base class. | |
using | Base = iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData > |
Type of the base class. | |
using | Base = iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData > |
Type of the base class. | |
using | Customizable = iganet::IgANetCustomizable< GeometryMap, Variable > |
Type of the customizable class. | |
using | Customizable = iganet::IgANetCustomizable< GeometryMap, Variable > |
Type of the customizable class. | |
using | Customizable = iganet::IgANetCustomizable< GeometryMap, Variable > |
Type of the customizable class. | |
Private Attributes | |
Customizable::variable_interior_coeff_indices_type | coeff_indices_ |
Coefficient indices. | |
Base::variable_collPts_type | collPts_ |
Collocation points. | |
Customizable::variable_interior_knot_indices_type | knot_indices_ |
Knot indices. | |
Additional Inherited Members | |
![]() | |
using | Base = iganet::IgABaseNoRefData< GeometryMap, Variable > |
Base type. | |
using | optimizer_type = Optimizer |
Type of the optimizer. | |
![]() | |
using | geometryMap_boundary_coeff_indices_type = decltype(std::declval< GeometryMap >() .template find_coeff_indices< functionspace::boundary >(std::declval< typename GeometryMap::boundary_eval_type >())) |
Type of the coefficient indices of geometry type at the boundary. | |
using | geometryMap_boundary_knot_indices_type = decltype(std::declval< GeometryMap >() .template find_knot_indices< functionspace::boundary >(std::declval< typename GeometryMap::boundary_eval_type >())) |
Type of the knot indices of the geometry map at the boundary. | |
using | geometryMap_interior_coeff_indices_type = decltype(std::declval< GeometryMap >() .template find_coeff_indices< functionspace::interior >(std::declval< typename GeometryMap::eval_type >())) |
Type of the coefficient indices of geometry type in the interior. | |
using | geometryMap_interior_knot_indices_type = decltype(std::declval< GeometryMap >() .template find_knot_indices< functionspace::interior >(std::declval< typename GeometryMap::eval_type >())) |
Type of the knot indices of the geometry map in the interior. | |
using | variable_boundary_coeff_indices_type = decltype(std::declval< Variable >() .template find_coeff_indices< functionspace::boundary >(std::declval< typename Variable::boundary_eval_type >())) |
Type of the coefficient indices of variable type at the boundary. | |
using | variable_boundary_knot_indices_type = decltype(std::declval< Variable >() .template find_knot_indices< functionspace::boundary >(std::declval< typename Variable::boundary_eval_type >())) |
Type of the knot indices of boundary_eval_type type at the boundary. | |
using | variable_interior_coeff_indices_type = decltype(std::declval< Variable >() .template find_coeff_indices< functionspace::interior >(std::declval< typename Variable::eval_type >())) |
Type of the coefficient indices of variable type in the interior. | |
using | variable_interior_knot_indices_type = decltype(std::declval< Variable >() .template find_knot_indices< functionspace::interior >(std::declval< typename Variable::eval_type >())) |
Type of the knot indices of the variables in the interior. | |
![]() | |
IgANetGenerator< typename Base::value_type > | net_ |
IgANet generator. | |
Optimizer | opt_ |
Optimizer. | |
IgANetOptions | options_ |
Options. | |
Specialization of the abstract IgANet class for function fitting.
|
private |
Type of the base class.
|
private |
Type of the base class.
|
private |
Type of the base class.
|
private |
Type of the base class.
|
private |
Type of the base class.
|
private |
Type of the customizable class.
|
private |
Type of the customizable class.
|
private |
Type of the customizable class.
|
inline |
Returns a constant reference to the collocation points.
|
inline |
Returns a constant reference to the collocation points.
|
inline |
Returns a constant reference to the collocation points.
|
inline |
Returns a constant reference to the collocation points.
|
inline |
Returns a constant reference to the collocation points.
|
inlineoverridevirtual |
Initializes the epoch.
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Initializes the epoch.
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Initializes the epoch.
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Initializes the epoch.
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Initializes the epoch.
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Computes the loss function.
[in] | outputs | Output of the network |
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Computes the loss function.
[in] | outputs | Output of the network |
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Computes the loss function.
[in] | outputs | Output of the network |
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Computes the loss function.
[in] | outputs | Output of the network |
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
inlineoverridevirtual |
Computes the loss function.
[in] | outputs | Output of the network |
[in] | epoch | Epoch number |
Implements iganet::IgANet< Optimizer, GeometryMap, Variable, iganet::IgABaseNoRefData >.
|
private |
Coefficient indices.
|
private |
Collocation points.
|
private |
Knot indices.