39 #include <boost/core/ignore_unused.hpp> 53 ProcessScaleInFld::create,
54 "rescale input field by a constant factor.");
60 "scaleinputfld: Need to specify a scale factor");
69 boost::ignore_unused(vm);
71 string scalestr =
m_config[
"scale"].as<
string>();
74 for (
int i = 0; i <
m_f->m_data.size(); ++i)
76 int datalen =
m_f->m_data[i].size();
79 &(
m_f->m_data[i][0]), 1);
#define ASSERTL0(condition, msg)
std::map< std::string, ConfigOption > m_config
List of configuration values.
Represents a command-line configuration option.
virtual ~ProcessScaleInFld()
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
void Smul(int n, const T alpha, const T *x, const int incx, T *y, const int incy)
Scalar multiply y = alpha*y.
virtual void Process(po::variables_map &vm)
Write mesh to output file.
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
Abstract base class for processing modules.
ModuleFactory & GetModuleFactory()
FieldSharedPtr m_f
Field object.