38 T local_parameters[4];
55 Surface(std::string geometry_file, std::string properties_file);
129 import_properties(properties_file);
153 unsigned int order, local_param_number;
155 std::ifstream myfile;
156 myfile.open(properties_file);
163 for(
auto i = 0; i < order; i++) {
164 myfile >> mu_k(i, 0);
168 for(
auto i = 0; i < order; i++) {
169 myfile >> sigma_k(i, 0);
173 myfile >> this->ac_length;
175 this->mu_coefficients = mu_k;
176 this->sigma_coefficients = sigma_k;
Class representing a geometric structure composed of vertices, normals, and properties.
Definition Geometry.h:11
This class implements a matrix object used for linear algebra and vectorized operations.
Definition Matrix.h:25
A class representing a surface with geometry and statistical properties.
Definition Surface.h:11
T autocorrelation_length()
Retrieves the autocorrelation length of the surface.
Definition Surface.h:100
void import_properties(std::string properties_file)
Imports surface properties from a file.
Definition Surface.h:151
T * get_local_parameters()
Retrieves the local parameters of the surface.
Definition Surface.h:107
Surface()
Default constructor for Surface class.
Definition Surface.h:116
Matrix< T > get_sigma_coefficients()
Retrieves the sigma coefficients for the surface.
Definition Surface.h:86
Matrix< T > get_mu_coefficients()
Retrieves the mu coefficients for the surface.
Definition Surface.h:79
~Surface()
Destructor for Surface class.
Definition Surface.h:138
Geometry< T > & get_geometry()
Retrieves the geometry of the surface.
Definition Surface.h:93