Grüße,
bin eben über ein paar stellen gestolpert, die mcih verwirren:
ist das c++ oder was spezifisches?
namespace Foam
{
/*---------------------------------------------------------------------------*\
Class laminarSquareInletFvPatchField Declaration
\*---------------------------------------------------------------------------*/
class laminarSquareInletFvPatchVectorField
:
public fixedValueFvPatchVectorField //<--was ist das mit einem : und ohne Konstruktor?
{
// Private data
//- Peak velocity magnitude
//.... etc
und
namespace Foam
{
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
laminarSquareInletFvPatchVectorField::laminarSquareInletFvPatchVectorField
(
const fvPatch& p,
const DimensionedField<vector, volMesh>& iF
)
: //<< gleicehs mit einem :
fixedValueFvPatchVectorField(p, iF),
maxValue_(0),
n_(1, 0, 0), //<<<--- was ist das? später werden n_ und y_ als variablen genutzt O_>
y_(0, 1, 0)
{}
siehe:
n_ /= mag(n_);
y_ /= mag(y_);
was sind y_ und n_ und was tut das eine : ? ist das überhaupt C? danke für die hinweise :()
MFG
bleicher