Class FluidVertexVelocity


  • public class FluidVertexVelocity
    extends CFacade
    Generated facet for DNA struct type 'FluidVertexVelocity'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct FluidVertexVelocity.

        It is required when allocating a new block to store data for FluidVertexVelocity.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__vel

        public static final long[] __DNA__FIELD__vel
        Field descriptor (offset) for struct member 'vel'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FluidVertexVelocity fluidvertexvelocity = ...;
         CPointer<Object> p = fluidvertexvelocity.__dna__addressof(FluidVertexVelocity.__DNA__FIELD__vel);
         CPointer<CArrayFacade<Float>> p_vel = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'vel'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
    • Constructor Detail

      • FluidVertexVelocity

        public FluidVertexVelocity​(long __address,
                                   Block __block,
                                   BlockTable __blockTable)
    • Method Detail

      • getVel

        public CArrayFacade<java.lang.Float> getVel()
                                             throws java.io.IOException
        Get method for struct member 'vel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel
      • setVel

        public void setVel​(CArrayFacade<java.lang.Float> vel)
                    throws java.io.IOException
        Set method for struct member 'vel'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vel