IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
iganet::IgABase< GeometryMap, Variable > Class Template Reference

IgA base class. More...

#include </home/runner/work/iganet/iganet/include/igabase.hpp>

Inheritance diagram for iganet::IgABase< GeometryMap, Variable >:
iganet::IgABaseNoRefData< GeometryMap, Variable > iganet::IgASolver< GeometryMap, Variable >

Public Types

using Base = IgABaseNoRefData< GeometryMap, Variable >
 Base type.
 
using geometryMap_collPts_type = typename Base::geometryMap_collPts_type
 Type of the geometry map collocation points.
 
using geometryMap_type = GeometryMap
 Type of the geometry map function space(s)
 
using value_type = typename Base::value_type
 Value type.
 
using variable_collPts_type = typename Base::variable_collPts_type
 Type of the variable collocation points.
 
using variable_type = Variable
 Type of the variable function space(s)
 
- Public Types inherited from iganet::IgABaseNoRefData< GeometryMap, Variable >
using geometryMap_collPts_type = std::pair< typename GeometryMap::eval_type, typename GeometryMap::boundary_eval_type >
 Type of the geometry map collocation points.
 
using geometryMap_type = GeometryMap
 Type of the geometry map function space(s)
 
using value_type = typename std::common_type< typename GeometryMap::value_type, typename Variable::value_type >::type
 Value type.
 
using variable_collPts_type = std::pair< typename Variable::eval_type, typename Variable::boundary_eval_type >
 Type of the variable collocation points.
 
using variable_type = Variable
 Type of the variable function space(s)
 

Public Member Functions

 IgABase (iganet::Options< value_type > options=iganet::Options< value_type >{})
 Default constructor.
 
Variablef ()
 Returns a non-constant reference to the spline representation of the reference data.
 
const Variablef () const
 Returns a constant reference to the spline representation of the reference data.
 
- Public Member Functions inherited from iganet::IgABaseNoRefData< GeometryMap, Variable >
 IgABaseNoRefData (iganet::Options< value_type > options=iganet::Options< value_type >{})
 Default constructor.
 
GeometryMapG ()
 Returns a non-constant reference to the spline representation of the geometry map.
 
const GeometryMapG () const
 Returns a constant reference to the spline representation of the geometry map.
 
virtual geometryMap_collPts_type geometryMap_collPts (enum collPts collPts) const
 Returns the geometry map collocation points.
 
Variableu ()
 Returns a non-constant reference to the spline representation of the solution.
 
const Variableu () const
 Returns a constant reference to the spline representation of the solution.
 
virtual variable_collPts_type variable_collPts (enum collPts collPts) const
 Returns the variable collocation points.
 

Static Public Attributes

static bool constexpr has_GeometryMap = true
 Indicates whether this class provides a geometry map.
 
static bool constexpr has_RefData = true
 Indicates whether this class provides a reference solution.
 
static bool constexpr has_Solution = true
 Indicates whether this class provides a solution.
 
- Static Public Attributes inherited from iganet::IgABaseNoRefData< GeometryMap, Variable >
static bool constexpr has_GeometryMap = true
 Indicates whether this class provides a geometry map.
 
static bool constexpr has_RefData = false
 Indicates whether this class provides reference data.
 
static bool constexpr has_Solution = true
 Indicates whether this class provides a solution.
 

Protected Attributes

Variable f_
 Spline representation of the reference data.
 
- Protected Attributes inherited from iganet::IgABaseNoRefData< GeometryMap, Variable >
GeometryMap G_
 Spline representation of the geometry map.
 
Variable u_
 Spline representation of the solution.
 

Private Member Functions

template<std::size_t... GeometryMapNumCoeffs, size_t... Is, std::size_t... VariableNumCoeffs, size_t... Js>
 IgABase (std::tuple< std::array< int64_t, GeometryMapNumCoeffs >... > geometryMapNumCoeffs, std::index_sequence< Is... >, std::tuple< std::array< int64_t, VariableNumCoeffs >... > variableNumCoeffs, std::index_sequence< Js... >, iganet::Options< value_type > options=iganet::Options< value_type >{})
 Constructor: number of spline coefficients (different for Geometry and Variable types)
 

Detailed Description

template<typename GeometryMap, typename Variable>
class iganet::IgABase< GeometryMap, Variable >

IgA base class.

This class implements the base functionality of IgA solvers and nets

Member Typedef Documentation

◆ Base

◆ geometryMap_collPts_type

Type of the geometry map collocation points.

◆ geometryMap_type

Type of the geometry map function space(s)

◆ value_type

◆ variable_collPts_type

Type of the variable collocation points.

◆ variable_type

Type of the variable function space(s)

Constructor & Destructor Documentation

◆ IgABase() [1/6]

template<std::size_t... GeometryMapNumCoeffs, size_t... Is, std::size_t... VariableNumCoeffs, size_t... Js>
iganet::IgABase< GeometryMap, Variable >::IgABase ( std::tuple< std::array< int64_t, GeometryMapNumCoeffs >... >  geometryMapNumCoeffs,
std::index_sequence< Is... >  ,
std::tuple< std::array< int64_t, VariableNumCoeffs >... >  variableNumCoeffs,
std::index_sequence< Js... >  ,
iganet::Options< value_type options = iganet::Options<value_type>{} 
)
inlineprivate

Constructor: number of spline coefficients (different for Geometry and Variable types)

◆ IgABase() [2/6]

Default constructor.

◆ IgABase() [3/6]

template<size_t NumCoeffs>
iganet::IgABase< GeometryMap, Variable >::IgABase ( std::array< int64_t, NumCoeffs ncoeffs,
iganet::Options< value_type options = iganet::Options<value_type>{} 
)
inline

Constructor: number of spline coefficients (same for geometry map and variables)

◆ IgABase() [4/6]

template<size_t... NumCoeffs>
iganet::IgABase< GeometryMap, Variable >::IgABase ( std::tuple< std::array< int64_t, NumCoeffs >... >  ncoeffs,
iganet::Options< value_type options = iganet::Options<value_type>{} 
)
inline

Constructor: number of spline coefficients (same for geometry map and variables)

◆ IgABase() [5/6]

template<std::size_t GeometryMapNumCoeffs, std::size_t VariableNumCoeffs>
iganet::IgABase< GeometryMap, Variable >::IgABase ( std::array< int64_t, GeometryMapNumCoeffs geometryMapNumCoeffs,
std::array< int64_t, VariableNumCoeffs variableNumCoeffs,
iganet::Options< value_type options = iganet::Options<value_type>{} 
)
inline

Constructor: number of spline coefficients (different for geometry map and variables)

◆ IgABase() [6/6]

template<std::size_t... GeometryMapNumCoeffs, std::size_t... VariableNumCoeffs>
iganet::IgABase< GeometryMap, Variable >::IgABase ( std::tuple< std::array< int64_t, GeometryMapNumCoeffs >... >  geometryMapNumCoeffs,
std::tuple< std::array< int64_t, VariableNumCoeffs >... >  variableNumCoeffs,
iganet::Options< value_type options = iganet::Options<value_type>{} 
)
inline

Constructor: number of spline coefficients (different for geometry map and variables)

Member Function Documentation

◆ f() [1/2]

Returns a non-constant reference to the spline representation of the reference data.

◆ f() [2/2]

Returns a constant reference to the spline representation of the reference data.

Member Data Documentation

◆ f_

Spline representation of the reference data.

◆ has_GeometryMap

bool constexpr iganet::IgABase< GeometryMap, Variable >::has_GeometryMap = true
staticconstexpr

Indicates whether this class provides a geometry map.

◆ has_RefData

bool constexpr iganet::IgABase< GeometryMap, Variable >::has_RefData = true
staticconstexpr

Indicates whether this class provides a reference solution.

◆ has_Solution

bool constexpr iganet::IgABase< GeometryMap, Variable >::has_Solution = true
staticconstexpr

Indicates whether this class provides a solution.


The documentation for this class was generated from the following file: