/* 
   Copyright (C) 2013, 2014, 2015, 2016, 2018, 2023 German A. Arias

   This file is part of FísicaLab application

   FísicaLab is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public
   License as published by the Free Software Foundation; either
   version 3 of the License, or (at your option) any later version.
 
   This application is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   Library General Public License for more details.
 
   You should have received a copy of the GNU General Public
   License along with this library; if not, write to the Free
   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/

#import "FLSolverWithCells.h"

@interface FLThermodynamics : FLSolverWithCells
{
  NSInteger varG, varT;
  double gravityDat, timeDat;
  NSString *gravityVar, *timeVar;
  NSMutableArray *unknowns, *objectsNames, *objectsIds, *objectsContained,
    *objectsChange, *codApplied, *objsWithApplied, *heatAndWork,
    *objectsBasicTherm, *sensibleLatentHeat, *codeOthers;
  NSMutableDictionary *objectsDictionary;
}
+ (NSArray *) dataForElementWithTag: (NSUInteger)tag forSystem: (NSUInteger)sys;
- (void) solveProblemWithData: (NSMutableDictionary *)list;
- (void) buildSystemWithUnknowns: (const gsl_vector *)vrs
                    forFunctions: (gsl_vector *)func;
@end
