33 #include "libmesh/parsed_fem_function.h" 
   56     std::string base_physics_name = 
"ParsedVelocitySource";
 
   60     this->velocity_source_function.reset(vsf);
 
   62     this->set_parameter(*vsf, _input,
 
   63                         "Physics/"+base_physics_name+
"/source_function",
 
   69     ( 
const libMesh::Point& point,
 
   70       const libMesh::Real time,
 
   72       libMesh::NumberVectorValue& F,
 
   73       libMesh::NumberTensorValue *dFdU)
 
   75     libmesh_assert(velocity_source_function.get());
 
   77     libMesh::DenseVector<libMesh::Number> output_vec(3);
 
   79     (*velocity_source_function)(c, point, time,
 
   87       for (
unsigned int i=0; i != 3; ++i)
 
   88         for (
unsigned int j=0; j != 3; ++j)
 
   91     if (F(0) || F(1) || F(2))
 
Physics class for Incompressible Navier-Stokes. 
 
void set_time_evolving_vars(libMesh::FEMSystem *system)
Sets velocity variables to be time-evolving. 
 
~ParsedVelocitySourceBase()
 
bool compute_force(const libMesh::Point &point, const libMesh::Real time, const AssemblyContext &c, libMesh::NumberVectorValue &F, libMesh::NumberTensorValue *dFdU=NULL)
 
INSTANTIATE_INC_NS_SUBCLASS(ParsedVelocitySourceBase)
 
ParsedVelocitySourceBase()