pyHarm.Reductors.NoReductor¶
Classes¶
This Reductor does nothing. |
Module Contents¶
- class pyHarm.Reductors.NoReductor.NoReductor(data: dict, expl_dofs: pandas.DataFrame, *args)¶
Bases:
pyHarm.Reductors.ABCReductor.ABCReductorThis Reductor does nothing.
- factory_keyword: str = 'noreductor'¶
keyword that is used to call the creation of this class in the factory.
- Type:
str
- update_reductor(xpred, J_f, *args)¶
Nothing is done here.
- Returns:
modified displacement vector given as input after passing through the reductor np.ndarray: modified jacobian matrix given as input after passing through the reductor pd.DataFrame: modified explicit dof DataFrame after passing through the reductor
- Return type:
np.ndarray
- expand(q: numpy.ndarray) numpy.ndarray¶
Does nothing.
- Parameters:
q (np.ndarray) – vector of displacement.
- Returns:
Same vector as input.
- Return type:
np.ndarray
- reduce_vector(x: numpy.ndarray) numpy.ndarray¶
Does nothing.
- Parameters:
R (np.ndarray) – residual vector.
- Returns:
same residual vector.
- Return type:
np.ndarray
- reduce_matrix(dJdx: numpy.ndarray, *args) numpy.ndarray¶
Does nothing.
- Parameters:
dJdxom (np.ndarray) – full size jacobian matrix with respect to displacement and angular frequency.
- Returns:
same matrix.
- Return type:
np.ndarray
- _get_output_expl_dofs()¶
Does nothing.
- Returns:
reduced explicit dof DataFrame given as input.
- Return type:
pd.DataFrame