Class FluidDomainVertexVelocity


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

         FluidDomainVertexVelocity fluiddomainvertexvelocity = ...;
         CPointer<Object> p = fluiddomainvertexvelocity.__dna__addressof(FluidDomainVertexVelocity.__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

      • FluidDomainVertexVelocity

        public FluidDomainVertexVelocity​(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