ATC version 2.0, date: Aug21
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10638 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -3,19 +3,24 @@
|
||||
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <vector>
|
||||
|
||||
using ATC_Utility::command_line;
|
||||
using ATC_Utility::str2dbl;
|
||||
using ATC_Utility::str2int;
|
||||
using std::fstream;
|
||||
using std::string;
|
||||
using std::map;
|
||||
using std::vector;
|
||||
|
||||
namespace ATC {
|
||||
|
||||
BodyForceViscous::BodyForceViscous(
|
||||
fstream &fileId, map<string,double> & parameters)
|
||||
fstream &fileId, std::map<std::string,double> & parameters)
|
||||
: BodyForce(), gamma_(0)
|
||||
{
|
||||
if (!fileId.is_open()) throw ATC_Error("cannot open material file");
|
||||
vector<string> line;
|
||||
std::vector<std::string> line;
|
||||
while(fileId.good()) {
|
||||
command_line(fileId, line);
|
||||
if (line.size() == 0) continue;
|
||||
|
||||
Reference in New Issue
Block a user