mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Functions made public to be used by setKsCsField application
This commit is contained in:
@ -110,13 +110,11 @@ class timeVaryingMappedFixedValueFvPatchField
|
|||||||
label& hi
|
label& hi
|
||||||
) const;
|
) const;
|
||||||
|
|
||||||
|
|
||||||
//- Read boundary points and determine interpolation weights to patch
|
//- Read boundary points and determine interpolation weights to patch
|
||||||
// faceCentres
|
// faceCentres
|
||||||
void readSamplePoints();
|
void readSamplePoints();
|
||||||
|
|
||||||
//- Find boundary data inbetween current time and interpolate
|
|
||||||
void checkTable();
|
|
||||||
|
|
||||||
//- Do actual interpolation using current weights
|
//- Do actual interpolation using current weights
|
||||||
tmp<Field<Type> > interpolate(const Field<Type>&) const;
|
tmp<Field<Type> > interpolate(const Field<Type>&) const;
|
||||||
|
|
||||||
@ -199,6 +197,12 @@ public:
|
|||||||
return referenceCS_;
|
return referenceCS_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//- Return startSampledValues
|
||||||
|
const Field<Type> startSampledValues()
|
||||||
|
{
|
||||||
|
return startSampledValues_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Mapping functions
|
// Mapping functions
|
||||||
|
|
||||||
@ -216,6 +220,12 @@ public:
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Utility functions
|
||||||
|
|
||||||
|
//- Find boundary data inbetween current time and interpolate
|
||||||
|
void checkTable();
|
||||||
|
|
||||||
|
|
||||||
// Evaluation functions
|
// Evaluation functions
|
||||||
|
|
||||||
//- Update the coefficients associated with the patch field
|
//- Update the coefficients associated with the patch field
|
||||||
|
|||||||
@ -152,6 +152,21 @@ public:
|
|||||||
|
|
||||||
// Member functions
|
// Member functions
|
||||||
|
|
||||||
|
// Acces functions
|
||||||
|
|
||||||
|
// Return Ks
|
||||||
|
scalarField& Ks()
|
||||||
|
{
|
||||||
|
return Ks_;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Return Cs
|
||||||
|
scalarField& Cs()
|
||||||
|
{
|
||||||
|
return Cs_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// Mapping functions
|
// Mapping functions
|
||||||
|
|
||||||
//- Map (and resize as needed) from self given a mapping object
|
//- Map (and resize as needed) from self given a mapping object
|
||||||
|
|||||||
Reference in New Issue
Block a user