#include </home/runner/work/iganet/iganet/include/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 |
|
|
|
|
|
|
|
|
|
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 (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 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML object.
◆ add_geometryMap() [2/6]
template<typename T >
void iganet::IgADataset< false >::add_geometryMap |
( |
T && |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML node.
◆ add_geometryMap() [3/6]
Adds a geometry map from file.
◆ add_geometryMap() [4/6]
template<typename T >
void iganet::IgADataset< false >::add_geometryMap |
( |
T & |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML object.
◆ add_geometryMap() [5/6]
template<typename T >
void iganet::IgADataset< false >::add_geometryMap |
( |
T & |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a geometry map from XML node.
◆ add_geometryMap() [6/6]
Adds a geometry map from file.
◆ add_referenceData() [1/8]
template<typename T >
void iganet::IgADataset< false >::add_referenceData |
( |
T && |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML object.
◆ add_referenceData() [2/8]
template<typename T >
void iganet::IgADataset< false >::add_referenceData |
( |
T && |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML node.
◆ add_referenceData() [3/8]
template<typename T , typename Func >
Adds a reference data set from XML node.
◆ add_referenceData() [4/8]
Adds a reference data set from file.
◆ add_referenceData() [5/8]
template<typename T >
void iganet::IgADataset< false >::add_referenceData |
( |
T & |
obj, |
|
|
const pugi::xml_document & |
doc, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML object.
◆ add_referenceData() [6/8]
template<typename T >
void iganet::IgADataset< false >::add_referenceData |
( |
T & |
obj, |
|
|
const pugi::xml_node & |
root, |
|
|
int |
id = 0 , |
|
|
std::string |
label = "" |
|
) |
| |
|
inline |
Adds a reference data set from XML node.
◆ add_referenceData() [7/8]
template<typename T , typename Func >
Adds a reference data set from XML node.
◆ add_referenceData() [8/8]
Adds a reference data set from file.
◆ get()
Returns the data set at location index.
◆ size()
◆ 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: