[SOLVED] CIS410-Project 4

25.99 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

Assignment:

  • Download skeleton          file       cxx        and      data     file       proj4_data.vtk            and            put      them   in         a          new     directory.
  • Re-use your txt           from    the       last      project.
  • Compile the       program         and      run      the                           It          will            generate         incorrect        output.
  • You will      need    to         implement      three   functions        to         make   it          generate            the       correct            output (search           for       “IMPLEMENT ME”)
    1. You should evaluate          them   in         the       following        order:
    2. EvaluateVectorFieldAtLocation
    3. Note that the       first     print    statements     test      this      routine.

(You    can      be        testing this      one      before proceeding.)  ii. AdvectWithEulerStep

iii. CalculateArcLength

  1. Note that the       second            print    statements     use      this            routine.           If          they     match  my       output,            you            almost certainly         did       “AdvectWithEulerStep”        correctly.
  • Update your    source code    and      a          screenshot     of         your    output to            Canvas            when   it          is                              The     screenshot     should            include            the       text      output and      visual  output.

The     correct            text      and      visual  outputs           are      provided.

  1. If you      are      submitting      incorrect        answers,         please reference       this            in         your
  2. Please keep in         mind   that     incorrect        answers          are      likely   to            receive            <50%.             I           would rather have    a          correct            answer           late      than    an        incorrect        answer           on

Note:   we       have    discussed       vector fields   that     change            over    time.                This     is called  “unsteady       state”  flow     and      is         what    occurs in         the       real     world.             We also     discussed       the       notion of         “steady           state”  flow     …         vector fields   that don’t   change            over    time.                For      this      assignment,    we       will      use      steady state    flow.                From   the       implementation         perspective,   it          means you      can drop    the       time     component     when   doing  velocity           interpolation.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.