# F_AREA(A,f,t)

 Register Blogs Members List Search Today's Posts Mark Forums Read

 December 5, 2007, 06:41 F_AREA(A,f,t) #1 manu Guest   Posts: n/a I would like to access the area value of all the mesh pieces of a boundary face in order to compute the total area of the face. I'm using: F_AREA(A,f,t). My question is: do I need to include it in the "begin_f_loop" or does the macro F_AREA(A,f,t) save automatically all the components? so in C-language: is it like this?: real Atot=0; F_AREA(A,f,t) begin_f_loop(f,t) { Atot= Atot+NV_MAG(A); } or like this: real Atot=0; begin_f_loop(f,t) { F_AREA(A,f,t) Atot= Atot+NV_MAG(A); }

 December 5, 2007, 06:43 Re: F_AREA(A,f,t) #2 manu Guest   Posts: n/a Sorry I forgot the semicolon after F_AREA(A,f,t), so one more time: real Atot=0; F_AREA(A,f,t); begin_f_loop(f,t) { Atot= Atot+NV_MAG(A); } or like this: real Atot=0; begin_f_loop(f,t) { F_AREA(A,f,t); Atot= Atot+NV_MAG(A); }

 December 5, 2007, 12:41 Re: F_AREA(A,f,t) #3 mohanraj Guest   Posts: n/a real Atot=0; begin_f_loop(f,t) { F_AREA(A,f,t); Atot= Atot+NV_MAG(A); } end_f_loop(f,t)

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

All times are GMT -4. The time now is 15:11.