IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet_fitting_geometry_dataloader.cxx File Reference

Demonstration of IgANet function fitting with data loader for the geometry. More...

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

Classes

class  fitting< Optimizer, GeometryMap, Variable >
 Specialization of the abstract IgANet class for function fitting. More...
 

Functions

int main ()
 

Detailed Description

Demonstration of IgANet function fitting with data loader for the geometry.

This example demonstrates how to implement an IgANet to ft a given function on a set of geometries that are loaded with the custom data loader.

This example can be configured with the following environment variables

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

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 ( )