<div dir="ltr">Hi,<div><br></div><div style>I have a problem dealing with FieldVector structure, I have just started programming using DUNE on Visual studio and I wanted to build the example shown in the grid how to do tutorial with few changes but I got an error saying   :\Desktop\Dune publications\Framework\dune-common-2.2.1\dune-common-2.2.1\dune/common/fvector.hh(20): fatal error C1021: invalid preprocessor command 'warning'</div>
<div style><br></div><div style>Can anyone help me please,</div><div style>thank you </div><div style>Razi</div><div style><br></div><div style>here is my code </div><div style><br></div><div style> #include "<a href="http://config.h.in">config.h.in</a>" </div>
<div>#include <dune/grid/sgrid.hh></div><div>#include <dune/grid/common/gridinfo.hh> </div><div>#include <dune/common/mpihelper.hh></div><div><br></div><div>int main( int argc, char **argv)</div><div><br>
</div><div>{</div><div><span class="" style="white-space:pre">        </span>Dune::MPIHelper::instance(argc,argv);</div><div><br></div><div><span class="" style="white-space:pre">     </span>try{</div><div><span class="" style="white-space:pre">               </span>const int dim=2;</div>
<div><span class="" style="white-space:pre">            </span>typedef Dune::SGrid<dim,dim> GridType;</div><div><span class="" style="white-space:pre">               </span>Dune::FieldVector<int,dim> N(30);</div><div><span class="" style="white-space:pre">            </span>Dune::FieldVector<typename GridType::ctype,dim> L(-1.0);</div>
<div><span class="" style="white-space:pre">            </span>Dune::FieldVector<typename GridType::ctype,dim> H(1.0);</div><div><span class="" style="white-space:pre">              </span>GridType grid(N,L,H);</div><div><span class="" style="white-space:pre">              </span>Dune::gridinfo(grid);</div>
<div><span class="" style="white-space:pre">            </span>}</div><div><br></div><div><span class="" style="white-space:pre"> </span>return 0;</div><div>}</div><div><br></div><div><br></div><div><br></div></div>