9 #ifndef LOADING_INITIALCONDITION_H
10 #define LOADING_INITIALCONDITION_H
12 #include "util/point.h"
18 struct InitialConditionDeck;
49 void apply(std::vector<util::Point3> *u, std::vector<util::Point3> *v,
61 std::string
printStr(
int nt = 0,
int lvl = 0)
const;
70 void print(
int nt = 0,
int lvl = 0)
const { std::cout <<
printStr(nt, lvl); };
83 const std::vector<double> ¶ms,
const util::Point3 &x,
84 const size_t &dof,
const size_t &dim);
A class for mesh data.
Definition: mesh.h:49
A class to apply initial condition.
Definition: initialCondition.h:34
InitialCondition(inp::InitialConditionDeck *deck)
Constructor.
Definition: initialCondition.cpp:18
void apply(std::vector< util::Point3 > *u, std::vector< util::Point3 > *v, fe::Mesh *mesh)
Applies initial condition to displacement and velocity.
Definition: initialCondition.cpp:21
void print(int nt=0, int lvl=0) const
Prints the information about the instance of the object.
Definition: initialCondition.h:70
inp::InitialConditionDeck * d_deck_p
Initial condition deck.
Definition: initialCondition.h:87
double getICFormula(const std::string &fn_type, const std::vector< double > ¶ms, const util::Point3 &x, const size_t &dof, const size_t &dim)
Computes the formula specified by input file.
Definition: initialCondition.cpp:69
std::string printStr(int nt=0, int lvl=0) const
Returns the string containing information about the instance of the object.
Definition: initialCondition.cpp:84
Collection of methods and data related to finite element and mesh.
Definition: baseElem.h:15
Collection of methods and database related to input.
Definition: main.cpp:21
Collection of methods and database related to loading.
Definition: DataManager.h:38
Structure to read and store policy data.
Definition: initialConditionDeck.h:78
A structure to represent 3d vectors.
Definition: point.h:29