pub struct SolvedInternalVariables<'a, B, const G: usize, V, const D: usize>where
V: Tensor,{ /* private fields */ }Expand description
The internal variables as a function of the nodal coordinates, solved wherever they are asked for.
The residual and the tangent are asked for at the same coordinates, so the solve is remembered rather than repeated, and what it converged to last is where the next one starts.
Implementations§
Source§impl<'a, B, const G: usize, V, const D: usize> SolvedInternalVariables<'a, B, G, V, D>where
B: ElasticIVElements<G, V, D>,
V: Tensor,
impl<'a, B, const G: usize, V, const D: usize> SolvedInternalVariables<'a, B, G, V, D>where
B: ElasticIVElements<G, V, D>,
V: Tensor,
pub fn new( model: &'a Model<B, D>, local_solver: &'a NewtonRaphson, initial: InternalVariablesField<G, V>, ) -> Self
pub fn at( &self, nodal_coordinates: &NodalCoordinates<D>, ) -> Result<InternalVariablesField<G, V>, ElementModelError>
Auto Trait Implementations§
impl<'a, B, const G: usize, V, const D: usize> !Freeze for SolvedInternalVariables<'a, B, G, V, D>
impl<'a, B, const G: usize, V, const D: usize> !RefUnwindSafe for SolvedInternalVariables<'a, B, G, V, D>
impl<'a, B, const G: usize, V, const D: usize> !Sync for SolvedInternalVariables<'a, B, G, V, D>
impl<'a, B, const G: usize, V, const D: usize> Send for SolvedInternalVariables<'a, B, G, V, D>
impl<'a, B, const G: usize, V, const D: usize> Unpin for SolvedInternalVariables<'a, B, G, V, D>where
V: Unpin,
impl<'a, B, const G: usize, V, const D: usize> UnsafeUnpin for SolvedInternalVariables<'a, B, G, V, D>
impl<'a, B, const G: usize, V, const D: usize> UnwindSafe for SolvedInternalVariables<'a, B, G, V, D>where
B: RefUnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more