Function1: Generalisation and removal of unused code
Function1 has been generalised in order to provide functionality previously provided by some near-duplicate pieces of code. The interpolationTable and tableReader classes have been removed and their usage cases replaced by Function1. The interfaces to Function1, Table and TableFile has been improved for the purpose of using it internally; i.e., without user input. Some boundary conditions, fvOptions and function objects which previously used interpolationTable or other low-level interpolation classes directly have been changed to use Function1 instead. These changes may not be backwards compatible. See header documentation for details. In addition, the timeVaryingUniformFixedValue boundary condition has been removed as its functionality is duplicated entirely by uniformFixedValuePointPatchField.
This commit is contained in:
@ -326,7 +326,8 @@ saturationModel
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
type tableFile;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
|
||||
@ -152,7 +152,8 @@ saturationModel
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
type tableFile;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
|
||||
@ -189,7 +189,8 @@ saturationModel
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
type tableFile;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
|
||||
@ -235,7 +235,8 @@ saturationModel
|
||||
scale 1;
|
||||
value
|
||||
{
|
||||
type csvFile;
|
||||
type tableFile;
|
||||
format csv;
|
||||
nHeaderLine 1;
|
||||
refColumn 1;
|
||||
componentColumns (0);
|
||||
|
||||
@ -36,10 +36,11 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile csvFile;
|
||||
profile tableFile;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
format csv; // Input format
|
||||
nHeaderLine 0; // Number of header lines
|
||||
refColumn 0; // Reference column index
|
||||
componentColumns (1); // Component column indices
|
||||
|
||||
@ -36,10 +36,11 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile csvFile;
|
||||
profile tableFile;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
format csv; // Input format
|
||||
nHeaderLine 0; // Number of header lines
|
||||
refColumn 0; // Reference column index
|
||||
componentColumns (1); // Component column indices
|
||||
|
||||
@ -36,10 +36,11 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile csvFile;
|
||||
profile tableFile;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
format csv; // Input format
|
||||
nHeaderLine 0; // Number of header lines
|
||||
refColumn 0; // Reference column index
|
||||
componentColumns (1); // Component column indices
|
||||
|
||||
@ -36,10 +36,11 @@ boundaryField
|
||||
wall
|
||||
{
|
||||
type fixedProfile;
|
||||
profile csvFile;
|
||||
profile tableFile;
|
||||
|
||||
profileCoeffs
|
||||
{
|
||||
format csv; // Input format
|
||||
nHeaderLine 0; // Number of header lines
|
||||
refColumn 0; // Reference column index
|
||||
componentColumns (1); // Component column indices
|
||||
|
||||
Reference in New Issue
Block a user