splinepy.microstructure.tiles.tile_base.TileBase#

class splinepy.microstructure.tiles.tile_base.TileBase[source]#

Bases: SplinepyBase

Base class for tile objects

_dim#

Dimension in physical space

Type:

int

_para_dim#

Dimension in parametric space

Type:

int

_evaluation_points#

Points in parametric space where tile parameters are evaluated. Each parameter is attributed one evaluation point. This is used for the parametrization spline.

Type:

np.ndarray (2D)

_n_info_per_eval_point#

Number of tile parameters per evaluation point

Type:

int

_sensitivities_implemented#

Whether sensitivities w.r.t. tile parameters are implemented

Type:

bool

_closure_directions#

List of directions in which the closure has been implemented

Type:

list<str>

_parameter_bounds#

List of bounds for the tile parameters

Type:

list<list<float>>

_parameters_shape#

Shape of parameters array

Type:

tuple<int>

_default_parameter_value#

Default values for all tile parameters

Type:

float/np.ndarray

Methods

TileBase.check_param_derivatives(derivatives)

Checks if all derivatives have the correct format and shape

TileBase.check_params(parameters)

Checks if the parameters have the correct format and shape and are within defined bounds

TileBase.create_tile(**kwargs)

Tile creation interface for derived classes.

Attributes

TileBase.closure_directions

Returns the available closure directions of the microtile

TileBase.default_parameter_value

Returns the default value of the microtile's parameters

TileBase.dim

Returns dimensionality in physical space of the Microtile.

TileBase.evaluation_points

Positions in the parametrization function to be evaluated when tile is constructed prior to composition.

TileBase.n_info_per_eval_point

Number of parameters per evaluation point

TileBase.para_dim

Returns dimensionality in parametric space of the Microtile.

TileBase.parameter_bounds

Returns the bounds for the microtiles' parameters.

TileBase.parameters_shape

Returns the shape of the microtile's parameters array

TileBase.sensitivities_implemented

Returns whether sensitivities are implemented for the microtile