Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90453070
solver.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Nov 1, 20:07
Size
1 KB
Mime Type
text/x-c++
Expires
Sun, Nov 3, 20:07 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21804679
Attached To
rLAMMPS lammps
solver.h
View Options
/*
*_________________________________________________________________________*
* POEMS: PARALLELIZABLE OPEN SOURCE EFFICIENT MULTIBODY SOFTWARE *
* DESCRIPTION: SEE READ-ME *
* FILE NAME: solver.h *
* AUTHORS: See Author List *
* GRANTS: See Grants List *
* COPYRIGHT: (C) 2005 by Authors as listed in Author's List *
* LICENSE: Please see License Agreement *
* DOWNLOAD: Free at www.rpi.edu/~anderk5 *
* ADMINISTRATOR: Prof. Kurt Anderson *
* Computational Dynamics Lab *
* Rensselaer Polytechnic Institute *
* 110 8th St. Troy NY 12180 *
* CONTACT: anderk5@rpi.edu *
*_________________________________________________________________________*/
#ifndef SOLVER_H
#define SOLVER_H
#include <fstream>
#include "colmatmap.h"
#include "matrices.h"
#include "defines.h"
class
System
;
class
Solver
{
protected:
System
*
system
;
double
time
;
ColMatMap
state
;
ColMatMap
statedot
;
ColMatMap
statedoubledot
;
SolverType
type
;
virtual
void
ComputeForces
();
public:
Solver
();
virtual
~
Solver
();
void
SetSystem
(
System
*
s
);
SolverType
GetSolverType
();
static
Solver
*
GetSolver
(
SolverType
solverToMake
);
virtual
void
DeleteModel
()
=
0
;
virtual
void
CreateModel
()
=
0
;
virtual
void
Solve
(
double
time
,
Matrix
&
FF
)
=
0
;
ColMatMap
*
GetState
();
ColMatMap
*
GetStateDerivative
();
ColMatMap
*
GetStateDerivativeDerivative
();
};
#endif
Event Timeline
Log In to Comment