#include </home/runner/work/iganet/iganet/include/iganet/net/igabase.hpp>
|
| using | example_type = torch::data::Example< torch::Tensor, torch::data::example::NoTarget > |
| | Example type.
|
| |
|
| example_type | get (std::size_t index) override |
| | Returns the data set at location index.
|
| |
| torch::optional< std::size_t > | size () const override |
| | Provides the size operation.
|
| |
|
|
|
|
|
|
|
|
| std::vector< torch::Tensor > | f_ |
| | Vector of tensors representing the reference data.
|
| |
| std::vector< torch::Tensor > | G_ |
| | Vector of tensors representing the geometry maps.
|
| |
|
| template<typename T > |
| void | read_from_xml (const std::string &location, T &obj, std::vector< torch::Tensor > &v) |
| | Reads a function space from file.
|
| |
◆ example_type
| using iganet::IgADataset< false >::example_type = torch::data::Example<torch::Tensor, torch::data::example::NoTarget> |
◆ add_geometryMap() [1/6]
template<typename T >
| void iganet::IgADataset< false >::add_geometryMap |
( |
T && |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Provides the add_geometryMap operation.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| doc | Value of doc. |
| id | Object identifier. |
| label | Object label. |
◆ add_geometryMap() [2/6]
template<typename T >
| void iganet::IgADataset< false >::add_geometryMap |
( |
T && |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Provides the add_geometryMap operation.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| root | Root XML node. |
| id | Object identifier. |
| label | Object label. |
◆ add_geometryMap() [3/6]
Provides the add_geometryMap operation.
- Template Parameters
-
| T | Template parameter T. |
| T | Template parameter T. |
- Parameters
-
| obj | Object to process. |
| location | Value of location. |
◆ add_geometryMap() [4/6]
template<typename T >
| void iganet::IgADataset< false >::add_geometryMap |
( |
T & |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML object.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| doc | Value of doc. |
| id | Object identifier. |
| label | Object label. |
◆ add_geometryMap() [5/6]
template<typename T >
| void iganet::IgADataset< false >::add_geometryMap |
( |
T & |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML node.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| root | Root XML node. |
| id | Object identifier. |
| label | Object label. |
◆ add_geometryMap() [6/6]
Adds a geometry map from file.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| location | Value of location. |
◆ add_referenceData() [1/8]
template<typename T >
| void iganet::IgADataset< false >::add_referenceData |
( |
T && |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Provides the add_referenceData operation.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| doc | Value of doc. |
| id | Object identifier. |
| label | Object label. |
◆ add_referenceData() [2/8]
template<typename T >
| void iganet::IgADataset< false >::add_referenceData |
( |
T && |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Provides the add_referenceData operation.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| root | Root XML node. |
| id | Object identifier. |
| label | Object label. |
◆ add_referenceData() [3/8]
template<typename T , typename Func >
Provides the add_referenceData operation.
- Template Parameters
-
| T | Template parameter T. |
| Func | Template parameter Func. |
| T | Template parameter T. |
| Func | Template parameter Func. |
- Parameters
-
| obj | Object to process. |
| func | Value of func. |
◆ add_referenceData() [4/8]
Provides the add_referenceData operation.
- Template Parameters
-
| T | Template parameter T. |
| T | Template parameter T. |
- Parameters
-
| obj | Object to process. |
| location | Value of location. |
◆ add_referenceData() [5/8]
template<typename T >
| void iganet::IgADataset< false >::add_referenceData |
( |
T & |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML object.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| doc | Value of doc. |
| id | Object identifier. |
| label | Object label. |
◆ add_referenceData() [6/8]
template<typename T >
| void iganet::IgADataset< false >::add_referenceData |
( |
T & |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0, |
|
|
const std::string & |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML node.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| root | Root XML node. |
| id | Object identifier. |
| label | Object label. |
◆ add_referenceData() [7/8]
template<typename T , typename Func >
Adds a reference data set from XML node.
- Template Parameters
-
| T | Template parameter T. |
| Func | Template parameter Func. |
- Parameters
-
| obj | Object to process. |
| func | Value of func. |
◆ add_referenceData() [8/8]
Adds a reference data set from file.
- Template Parameters
-
- Parameters
-
| obj | Object to process. |
| location | Value of location. |
◆ get()
Returns the data set at location index.
- Parameters
-
- Returns
- Result of the operation.
◆ size()
Provides the size operation.
- Returns
- Result of the operation.
Provides the size operation.
- Returns
- Result of the operation.
◆ f_
Vector of tensors representing the reference data.
◆ G_
Vector of tensors representing the geometry maps.
The documentation for this class was generated from the following file: