ENH: Functions made public to be used by setKsCsField application

This commit is contained in:
sergio
2010-05-19 15:39:40 +01:00
parent 2abeb6a7f3
commit 35f74367ac
2 changed files with 28 additions and 3 deletions

View File

@ -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

View File

@ -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