hookeai.material_model_finder.model.material_discovery

Material model finder forward model.

Classes

MaterialModelFinder(torch.nn.Module)

Material model finder forward model.

Functions

compute_element_internal_forces(...)

Compute finite element internal forces.

compute_infinitesimal_inc_strain(...)

Compute incremental infinitesimal strain tensor.

compute_infinitesimal_strain(...)

Compute infinitesimal strain tensor.

data_scaler_transform(model, tensor, ...[, mode])

Perform data scaling operation on features PyTorch tensor.

eval_shapefun_deriv(element_type, ...)

Evaluate shape functions derivates at given coordinates.

get_problem_type_parameters(problem_type)

Get parameters dependent on the problem type.

get_projection_tensors_vmf(n_dim, comp_order_sym)

Get volumetric and deviatoric projection tensors Voigt matricial form.

make_directory(directory[, is_overwrite])

Create a directory.

material_state_update(strain_formulation, ...)

Material state update for any given constitutive model.

plot_xy_data(data_xy[, data_labels, ...])

Plot data in xy axes.

save_dataset(dataset, dataset_basename, ...)

Save PyTorch time series data set to file.

save_figure(figure, filename[, height, ...])

Save Matplotlib figure.

set_fitted_data_scalers(model, scaling_type, ...)

Set fitted model data scalers from given scaler type and parameters.

vbuild_discrete_gradient(shape_fun_deriv, ...)

Build discrete gradient operator.

vbuild_discrete_sym_gradient(...)

Build discrete symmetric gradient operator.

vexpand_grad_operator_sym_2d_to_3d(...)

Expand 2D discrete symmetric gradient operator to 3D.

vget_strain_from_vmf(strain_vmf, n_dim, ...)

Recover strain tensor from associated Voigt matricial form.

vget_stress_vmf(stress, n_dim, comp_order_sym)

Get stress tensor Voigt matricial form.

vget_tensor_from_mf(tensor_mf, n_dim, comp_order)

Recover tensor from associated matricial form.

vget_tensor_mf(tensor, n_dim, comp_order[, ...])

Get tensor matricial form.

vreduce_grad_operator_sym_3d_to_2d(...)

Reduce 3D discrete symmetric gradient operator to 2D.

Classes

HybridModel(n_features_in, n_features_out, ...)

Hybrid model.

MaterialModelFinder(model_directory[, ...])

Material model finder forward model.

TimeSeriesDatasetInMemory(dataset_samples)

Time series data set (in-memory storage only).

TorchMinMaxScaler(n_features[, minimum, ...])

PyTorch tensor min-max data scaler.