|
[Sponsors] |
How to define the list of vector when a vector has n components |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 26, 2012, 00:58 |
How to define the list of vector when a vector has n components
|
#1 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18 |
Hi,
I can define the list of vector by the following when a vector has "three" components: label Np = mesh.points().size(); List<vector> N(Np, vector::zero); What should I do if I want to define the list of vector when a vector has "n" components(n: positive integer)? Best regards, Fumiya |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Robin B.C. | Yu | FLUENT | 3 | May 27, 2012 04:19 |
ACCESS VIOLATION | MHDWill | FLUENT | 1 | September 23, 2007 02:51 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 08:23 |
Free surface boudary conditions with SOLA-VOF | Fan | Main CFD Forum | 10 | September 9, 2006 12:24 |
UDF FOR UNSTEADY TIME STEP | mayur | FLUENT | 3 | August 9, 2006 10:19 |