IgANet
IGAnets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet_poisson.cxx File Reference

Demonstration of IgANet Poisson solver. More...

#include <iganet/iganet.h>
#include <iostream>

Classes

class  poisson< Optimizer, GeometryMap, Variable >
 Specialization of the abstract IgANet class for Poisson's equation. More...
 

Functions

int main ()
 

Detailed Description

Demonstration of IgANet Poisson solver.

This example demonstrates how to implement a simple IgANet for learning the Poisson equation with (non-)homogeneous Dirichlet boundary conditions on a square geometry.

This example can be configured with the following environment variables

IGANET_MAX_EPOCH - maximum number of epochs during training IGANET_MIN_LOSS - tolerance for loss function IGANET_MIN_LOSS_CHANGE - tolerance for loss function change IGANET_MIN_LOSS_REL_CHANGE - tolerance for loss function relative change IGANET_NCOEFFS - number of unidirectional B-spline coefficients IGANET_NLAYERS - number of network layers IGANET_NNEURONS - number of neurons per layer

Author
Matthias Moller

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Function Documentation

◆ main()

int main ( )