TransportMaps.Distributions.Examples.Timoshenko.TimoshenkoProblems

Module Contents

Classes

TimoshenkoSolver

[Abstract] Generic class for a PDE solver

AdjointTimoshenkoSolver

\[\]

ClampedTimoshenkoProblem

\[\]

class TransportMaps.Distributions.Examples.Timoshenko.TimoshenkoProblems.TimoshenkoSolver(**kwargs)[source]

Bases: TransportMaps.DOLFIN.Solver

[Abstract] Generic class for a PDE solver

It offers only stub functions and a function to convert degrees of freedom to fenics functions defined on the prescribed approximation space.

set_up(**kwargs)[source]
new_function(FS)[source]
project(f, FS)[source]
dof_to_fun(x)[source]
solve(E)[source]
Parameters:

E (ndarray) – spatially varying Young’s modulus (GPa)

class TransportMaps.Distributions.Examples.Timoshenko.TimoshenkoProblems.AdjointTimoshenkoSolver(*args, **kwargs)[source]

Bases: TimoshenkoSolver

\[J(u) = \sum_{i=1}^{n_\text{obs}} w_i \left( y_i - \int u s_i dx \right)^2\]
property sensors_list[source]
property obs_list[source]
property weights_list[source]
_serializable = ['_sens_pos_list', '_sens_geo_eps', '_obs_list', '_weights_list'][source]
set_up(**kwargs)[source]
set_sensors_list(sens_pos_list, sens_geo_eps)[source]
set_data(obs_list, sens_pos_list, sens_geo_eps, weights_list=None)[source]
__getstate__()[source]
__setstate__(state)[source]
new_function(FS)[source]
project(f, FS)[source]
_set_up_reduced_functional()[source]

E is in GPa

observe(E)[source]
Parameters:

E (ndarray) – spatially varying Young’s modulus (GPa)

Returns:

observations though the sensors

evaluate(E)[source]
Parameters:

E (ndarray) – spatially varying Young’s modulus (GPa)

grad_x(E)[source]
Parameters:

E (ndarray) – spatially varying Young’s modulus (GPa)

tuple_grad_x(E)[source]
Parameters:

E (ndarray) – spatially varying Young’s modulus (GPa)

class TransportMaps.Distributions.Examples.Timoshenko.TimoshenkoProblems.ClampedTimoshenkoProblem(**kwargs)[source]

Bases: AdjointTimoshenkoSolver

\[J(u) = \sum_{i=1}^{n_\text{obs}} w_i \left( y_i - \int u s_i dx \right)^2\]
_init_args = ['q', 'thickness', 'width', 'length', 'kappa', 'poisson', 'nels'][source]
__getstate__()[source]
set_up()[source]