List of plane
Hi Everyone,
i want to create a list of planes ==> Code:
Code:
In file included from /opt/openfoam201/src/OpenFOAM/lnInclude/List.H:259:0, Code:
scalar a(1); Best regards Henning |
The plane is missing an empty constructor, just add
Code:
plane() {}; Code:
error: no matching function for call to ‘Foam::plane::plane()’ Now, tell me, what are you using this for? :) |
i want to create the class cellcuts. For that i need the list of plane for the consructor.
In the end i want to calculate the volume of the cell cutted by the plane. |
Thank you for the quick response
im trying to change plane.C and plane.H |
Did you manage to figure out how to define a object of "class plane"??
Quote:
|
Use PtrList<plane>.
|
Quote:
Code:
const point& p1=vector(0,0,0 ); |
Code:
PtrList<plane> planes(3); |
Quote:
Code:
error: ‘plane’ was not declared in this scope Code:
point xyz(0,0,0) ;// choose the point through which //the plane goes Quote:
|
All times are GMT -4. The time now is 14:14. |