pub struct Node {
pub id: NodeId,
pub coord: [f64; 3],
pub restraint: Dof6Mask,
pub mass: Option<[f64; 6]>,
pub story: Option<StoryId>,
pub support_spring: Option<[f64; 6]>,
}Fields§
§id: NodeId§coord: [f64; 3]§restraint: Dof6Mask§mass: Option<[f64; 6]>§story: Option<StoryId>§support_spring: Option<[f64; 6]>支点ばね(全体座標系の各自由度ばね剛性)
[kx, ky, kz, krx, kry, krz](並進[N/mm]・回転[N·mm/rad])。
restraint で固定(Dof6Mask::is_fixed)されている自由度の値は無視される
(固定を優先。ばねと固定支持の二重定義を避ける)。None はばね支持なし
(従来どおり自由 or 固定の二値)。旧スキーマ(本フィールド無し)は
None で補完される。
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Node
impl<'de> Deserialize<'de> for Node
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Node
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnsafeUnpin for Node
impl UnwindSafe for Node
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