[SOLVED] CIS410-Project 2

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      file       data_proj2.vtk            and      put            them   in         a          new     directory.
  • Re-use your from    txt           …         copy    it          to         a          new     directory            and      rename           “proj1”            to         be        “proj2”.
  • 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. I would recommend you implement      them   in         the       following        order:
    1. BoundingBoxForCell
    2. CountNumberOfStraddlingCells
  • EvaluateFieldAtLocation
  • Compare the       output with     the       output I                                   Keep   in         mind            that     not      all        function          invocations    have    valid    arguments.                 GetBoundingBox       returns           [-100>+100,   -100->+100]  for       invalid cell            indices            and      EvaluateFieldAtLocation      returns           0          for       invalid            locations.
  • Upload your    source code    when   it          is

If          it          does    not      produce          the       correct            answer,           then    you      should expect to         get       less      than    half      credit.             I           would prefer to         get       working code    late      than    non-working  code    on        time.

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.