Skip to content

Commit

Permalink
doc: add boilerplate documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
asmfstatoil committed Jan 7, 2025
1 parent 7d9340c commit 6b0f4e4
Show file tree
Hide file tree
Showing 733 changed files with 1,303 additions and 364 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
*/
public class ChemicalReactionOperations
implements neqsim.thermo.ThermodynamicConstantsInterface, Cloneable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalReactionOperations.class);

SystemInterface system;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class ChemEq implements java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
int NSPEC = 10;
int NELE = 3;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public class ChemicalEquilibrium implements java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalEquilibrium.class);

SystemInterface system;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
*/
public class LinearProgrammingChemicalEquilibrium
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(LinearProgrammingChemicalEquilibrium.class);

double[] xEts = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
*/
public class ReferencePotComparator
implements Comparator<ComponentInterface>, java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/** {@inheritDoc} */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/
public class ChemicalReaction extends NamedBaseClass
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

String[] names;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public final class ChemicalReactionFactory {
/** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalReactionFactory.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
* @version $Id: $Id
*/
public class ChemicalReactionList implements ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(ChemicalReactionList.class);

ArrayList<ChemicalReaction> chemicalReactionList = new ArrayList<ChemicalReaction>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @version $Id: $Id
*/
public class Kinetics implements java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
protected ChemicalReactionOperations operations;
double phiInfinite = 0.0;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/neqsim/datapresentation/DataHandling.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
* @version $Id: $Id
*/
public class DataHandling {
/** Logger object for class. */
static Logger logger = LogManager.getLogger(DataHandling.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
* @version $Id: $Id
*/
public class TextFile implements java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(TextFile.class);

String fileName = "c:/example.txt";
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/neqsim/datapresentation/jfreechart/Graph2b.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
* @version $Id: $Id
*/
public class Graph2b extends javax.swing.JFrame {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(Graph2b.class);

XYDataset xyData;
Expand Down
1 change: 1 addition & 0 deletions src/main/java/neqsim/fluidmechanics/flowleg/FlowLeg.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
* @version $Id: $Id
*/
public abstract class FlowLeg implements FlowLegInterface, java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

protected FlowNodeInterface[] flowNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* @version $Id: $Id
*/
public class PipeLeg extends FlowLeg {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

// FlowNodeInterface[] node;
Expand All @@ -27,8 +28,7 @@ public class PipeLeg extends FlowLeg {
* Constructor for PipeLeg.
* </p>
*/
public PipeLeg() {
}
public PipeLeg() {}

/** {@inheritDoc} */
@Override
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/neqsim/fluidmechanics/flownode/FlowNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@
* @version $Id: $Id
*/
public abstract class FlowNode implements FlowNodeInterface, ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(FlowNode.class);

protected double distanceToCenterOfNode = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
* @version $Id: $Id
*/
public abstract class FluidBoundary implements FluidBoundaryInterface, java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(FluidBoundary.class);

protected FlowNodeInterface flowNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/
public class EquilibriumFluidBoundary
extends neqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
*/
public abstract class NonEquilibriumFluidBoundary
extends neqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(NonEquilibriumFluidBoundary.class);

protected int neq = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
public class KrishnaStandartFilmModel extends
neqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary
implements ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(KrishnaStandartFilmModel.class);
Matrix phiMatrix;
Matrix redPhiMatrix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* @version $Id: $Id
*/
public abstract class ReactiveFluidBoundary extends KrishnaStandartFilmModel {
/** Logger object for class. */
static Logger logger = LogManager.getLogger(ReactiveFluidBoundary.class);
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

protected int neq = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* @version $Id: $Id
*/
public class ReactiveKrishnaStandartFilmModel extends KrishnaStandartFilmModel {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

int enhancementType = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* @version $Id: $Id
*/
public class InterphaseAnnularFlow extends InterphaseStratifiedFlow {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
public class InterphaseDropletFlow extends InterphaseTwoPhasePipeFlow
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
public class InterphaseStratifiedFlow extends InterphaseTwoPhasePipeFlow
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
public class InterphasePackedBed extends InterphaseReactorFlow
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* @version $Id: $Id
*/
public class InterphaseStirredCellFlow extends InterphaseStratifiedFlow {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@
* @version $Id: $Id
*/
public abstract class MultiPhaseFlowNode extends FlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(MultiPhaseFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
* @version $Id: $Id
*/
public class WaxDepositionFlowNode extends MultiPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(WaxDepositionFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public abstract class onePhaseFlowNode extends FlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(onePhaseFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class onePhasePipeFlowNode extends onePhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(onePhasePipeFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@
* @version $Id: $Id
*/
public abstract class TwoPhaseFlowNode extends FlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(TwoPhaseFlowNode.class);

// public double[] molarMassTransferFlux;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
* @version $Id: $Id
*/
public class AnnularFlow extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(AnnularFlow.class);
// ThermodynamicOperations interphaseOps = new ThermodynamicOperations();
// double liquidFilmThickness=0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
* @version $Id: $Id
*/
public class BubbleFlowNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(BubbleFlowNode.class);
private double averageBubbleDiameter = 0.001;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* @version $Id: $Id
*/
public class DropletFlowNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
private double averageDropletDiameter = 100.0e-6;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
* @version $Id: $Id
*/
public class StratifiedFlowNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(StratifiedFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
* @version $Id: $Id
*/
public class TwoPhasePackedBedFlowNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(TwoPhasePackedBedFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class TwoPhaseTrayTowerFlowNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(TwoPhaseTrayTowerFlowNode.class);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
* @version $Id: $Id
*/
public class StirredCellNode extends TwoPhaseFlowNode {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(StirredCellNode.class);

private double[] stirrerRate = {1.0, 1.0};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public abstract class FlowSolver implements FlowSolverInterface, java.io.Serializable {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

protected int numberOfVelocityNodes = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* @version $Id: $Id
*/
public abstract class OnePhaseFlowSolver extends neqsim.fluidmechanics.flowsolver.FlowSolver {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
*/
public class OnePhaseFixedStaggeredGrid extends OnePhasePipeFlowSolver
implements neqsim.thermo.ThermodynamicConstantsInterface {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(OnePhaseFixedStaggeredGrid.class);

Matrix diffMatrix;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
*/
public class OnePhasePipeFlowSolver
extends neqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver {
/** Serialization version UID. */
private static final long serialVersionUID = 1000;
/** Logger object for class. */
static Logger logger = LogManager.getLogger(OnePhasePipeFlowSolver.class);

protected double[] PbArray; // = new double[100];
Expand Down
Loading

0 comments on commit 6b0f4e4

Please sign in to comment.